Author pablogsal
Recipients BTaskaya, pablogsal
Date 2019-11-20.22:34:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574289269.61.0.90605518345.issue38870@roundup.psfhosted.org>
In-reply-to
Content
As discussed in https://mail.python.org/archives/list/python-dev@python.org/thread/JAQDBMC23HW2PQ27HQNJ7G244T423IDD/ I propose to expose the unparse.py tool as part of the standard library in the ast module.

The exposed function will have the interface:

ast.unparse(ast_obj, *, option1, option2,...)

and will return a string with the unparsed version of ast_obj.

The unparse tool will need some cosmetic improvements that will be tracked separately in this issue.
History
Date User Action Args
2019-11-20 22:34:29pablogsalsetrecipients: + pablogsal, BTaskaya
2019-11-20 22:34:29pablogsalsetmessageid: <1574289269.61.0.90605518345.issue38870@roundup.psfhosted.org>
2019-11-20 22:34:29pablogsallinkissue38870 messages
2019-11-20 22:34:29pablogsalcreate