Open GoogleCodeExporter opened 8 years ago
Thanks for the patch. Dumping the output is useful. I surprised to realize how
obsessed I was with parsing patches that completely missed the point that
dumping parsed data is also very useful for debugging and checking that parsing
is ok.
As for __repr__ and __str__ - I don't think it will be a useful representation.
Accidentally type a name in console and you'll get several pages output. For
the patch, I'd prefer a diffstat output - it is more informative, but can still
be huge.
How about .dump() method instead? Or maybe you have a better name in mind?
Original comment by techtonik@gmail.com
on 29 Mar 2013 at 5:52
Well, in keeping with your approach to naming things in the code elsewhere, you
have a fromstring() function already, so I named these tostring()
The attached patch is updated to reflect this
Original comment by pombreda...@gmail.com
on 29 Mar 2013 at 9:48
Attachments:
Original issue reported on code.google.com by
pombreda...@gmail.com
on 28 Mar 2013 at 11:00Attachments: