[issue39715] Implement __repr__ methods for AST classes

STINNER Victor report at bugs.python.org
Fri Oct 30 07:56:14 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

I'm not sure that it's a good idea to make repr(_ast.AST) longer. I suggest to reject this feature request. As Serhiy wrote, ast.dump() can already be used.

----------
nosy: +vstinner

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


More information about the Python-bugs-list mailing list