This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients benjamin.peterson, brett.cannon, georg.brandl, myronww, ncoghlan, r.david.murray, vstinner
Date 2015-12-17.09:45:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwZcfnCGd+rREMgBrVsVQcUQx2g5Tb5QroZ_W3CRe8Dqyg@mail.gmail.com>
In-reply-to <1450307128.0.0.570139360428.issue25885@psf.upfronthosting.co.za>
Content
> Would it be prudent to add a Parse flag to the AST module that could provide one of two types of AST's an optimized AST or a complete AST

Adding syntax ("formatting", call it as you want) info to AST requires
to add new attributes to existing AST nodes and probably add new AST
nodes. It will make the code more complex, not only the code to
produce AST, but also code using AST (static code analyzer, my AST
optimizer project, etc.).

I don't think that it's worth it.
History
Date User Action Args
2015-12-17 09:45:50vstinnersetrecipients: + vstinner, brett.cannon, georg.brandl, ncoghlan, benjamin.peterson, r.david.murray, myronww
2015-12-17 09:45:50vstinnerlinkissue25885 messages
2015-12-17 09:45:50vstinnercreate