New submission from Larry Hastings:

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.

----------
components: Library (Lib)
messages: 241477
nosy: benjamin.peterson, georg.brandl, larry
priority: normal
severity: normal
stage: needs patch
status: open
title: Add un-parse function to ast
type: enhancement
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24002>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to