[issue35143] `from __future__ import annotations` has no effect inside `ast.parse`

Batuhan report at bugs.python.org
Fri Dec 27 12:55:02 EST 2019


Batuhan <batuhanosmantaskaya at gmail.com> added the comment:

> Having a real "ast.unparse" would be better however. It seems that the building blocks are all there, just not in that form.

Now we have that :) https://docs.python.org/3.9/whatsnew/3.9.html#improved-modules

----------

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


More information about the Python-bugs-list mailing list