[Python-ideas] Retain string form of AST Numbers
Guido van Rossum
guido at python.org
Sun Apr 6 18:49:41 CEST 2014
The former. It's porpose is to generate code, not to reproduce the source.
On Sunday, April 6, 2014, Ethan Furman <ethan at 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 at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
--
--Guido van Rossum (on iPad)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140406/d13c0e8b/attachment-0001.html>
More information about the Python-ideas
mailing list