On 29/11/2018 07:08, Martin Blais wrote:
> On Thu, Nov 29, 2018 at 2:17 AM Daniele Nicolodi <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     On 28/11/2018 23:22, Daniele Nicolodi wrote:
>     > On 28/11/2018 23:17, Martin Blais wrote:
>     >> On Thu, Nov 29, 2018 at 1:14 AM Oon-Ee Ng <[email protected]
>     <mailto:[email protected]>
>     >>
>     >>     That was my impression as well, but after testing it out I found
>     >>     this was not the case. The returned ordered list of
>     transactions is
>     >>     then sorted by date and line number. 
>     >>
>     >>
>     >> Yes. Sorted by date.
>     >
>     > Is that documented?
> 
> https://docs.google.com/document/d/1wAMVrKIA2qtRGmoVDSUBJGmYZSygUaR0uOMW1GV3YE0/edit#heading=h.gni5f2cin8rd
> https://bitbucket.org/blais/beancount/src/4c79f94e085880bb1d4b469c931435eb246855bf/beancount/core/data.py#lines-568

This does not refer to how directives are serialized in the ingest
framework, but on how they are processed. I may have overlooked it, but
the documentation on ingest does not mention sorting, and if it does,
sorting on line number is not mentioned. Assuming it is not there yet, I
may be a good idea to add it.

Cheers,
Dan

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/35188815-baad-005e-6f80-eaacef6b91fb%40grinta.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to