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 larry
Recipients benjamin.peterson, georg.brandl, larry
Date 2015-04-19.05:39:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429421950.27.0.647153175832.issue24002@psf.upfronthosting.co.za>
In-reply-to
Content
Twice recently I've wanted a function that transforms an AST node tree back into text:

* In the hacked-up Tools/clinic/clinic.py for issue #24001
* In the hacked-up Lib/inspect.py for issue #23967

Both times I did a half-assed job just to get the patch working, so we could decide whether or not we want to go this route.

It seems useful and reasonable to do a proper job and add this functionality to ast.
History
Date User Action Args
2015-04-19 05:39:10larrysetrecipients: + larry, georg.brandl, benjamin.peterson
2015-04-19 05:39:10larrysetmessageid: <1429421950.27.0.647153175832.issue24002@psf.upfronthosting.co.za>
2015-04-19 05:39:10larrylinkissue24002 messages
2015-04-19 05:39:09larrycreate