New submission from Ram Rachum <[email protected]>:
I was playing with the `ast` library today, and it's frustrating to see objects
like these:
[<_ast.Import object at 0x00000000033FB048>,
<_ast.Import object at 0x00000000033FB0F0>,
<_ast.ImportFrom object at 0x00000000033FB160>,
<_ast.Import object at 0x00000000033FB1D0>,
<_ast.Assign object at 0x00000000033FB240>,
<_ast.If object at 0x00000000033FB630>]
A little bit more information about each object in the `__repr__` would make
this module much easier to work with.
----------
components: Library (Lib)
messages: 362419
nosy: cool-RR
priority: normal
severity: normal
status: open
title: Implement __repr__ methods for AST classes
type: enhancement
versions: Python 3.9
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39715>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com