Print drops information (was: RESTful web service API to Ledger)

2012-10-21 Thread Eric
On Sat, 20 Oct 2012 08:51:12 -0700, John Wiegley jwieg...@gmail.com wrote: ... You can manipulate the data structures in Python, but you'd have to write the whole file back out with a print. However, this drops information. At the moment this is no way to perform an information-preserving

Re: Print drops information (was: RESTful web service API to Ledger)

2012-10-21 Thread Craig Earls
Print has never preserved comments that appear outside of transactions. Nor does it preserve file level commands On Sun, Oct 21, 2012 at 5:09 AM, Eric e...@deptj.eu wrote: So when did it start dropping information and why? What information does it drop? Eric -- ms fnd in a lbry --

Re: Print drops information (was: RESTful web service API to Ledger)

2012-10-21 Thread Eric
On Sun, 21 Oct 2012 13:42:18 -0700, Craig Earls ender...@gmail.com wrote: On Sun, Oct 21, 2012 at 5:09 AM, Eric e...@deptj.eu wrote: So when did it start dropping information and why? What information does it drop? Print has never preserved comments that appear outside of transactions. Nor

Re: Print drops information (was: RESTful web service API to Ledger)

2012-10-21 Thread Craig Earls
It also doesn't reproduce virtual transactions. On Sun, Oct 21, 2012 at 2:09 PM, Eric e...@deptj.eu wrote: On Sun, 21 Oct 2012 13:42:18 -0700, Craig Earls ender...@gmail.com wrote: On Sun, Oct 21, 2012 at 5:09 AM, Eric e...@deptj.eu wrote: So when did it start dropping information and