New submission from Pablo Galindo Salgado <pablog...@gmail.com>:
As discussed in https://mail.python.org/archives/list/python-...@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. ---------- assignee: pablogsal components: Library (Lib) messages: 357107 nosy: BTaskaya, pablogsal priority: normal severity: normal status: open title: Expose ast.unparse in the ast module type: enhancement versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38870> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com