April 6, 2014
4:49 p.m.
The former. It's porpose is to generate code, not to reproduce the source. On Sunday, April 6, 2014, Ethan Furman <ethan@stoneleaf.us> wrote:
On 04/05/2014 03:08 PM, Guido van Rossum wrote:
Lib2to3 has its own parser and tree so it can reconstruct the file, with comments. AST just throws away too much.
Are you saying it throws away too much for the question at hand, or that it throws away too much and should be modified to not throw away too much?
-- ~Ethan~ _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
-- --Guido van Rossum (on iPad)