[issue39069] Move ast.unparse() function to a different module

Pablo Galindo Salgado report at bugs.python.org
Mon Dec 16 13:47:14 EST 2019


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

One thing to notice:

Factoring this into a submodule may be a bit annoying as it will have circular imports as the unparse submodule depends directly on stuff from ast and ast will import unparse. Is possible to make it work if we import it at the end but is a bit ugly.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39069>
_______________________________________


More information about the Python-bugs-list mailing list