[issue38765] `ast.AST._attributes` is used by `ast.dump()` but not documented
Terry J. Reedy
report at bugs.python.org
Fri Nov 15 15:05:39 EST 2019
Terry J. Reedy <tjreedy at udel.edu> added the comment:
A leading underscore usually means that the name is private and should not be relied on. We of course use private names to implement public objects, else they should not exist. '_fields' is an exception, and I leave it to the ast experts to decide if '_attributes' should be also.
----------
nosy: +terry.reedy
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38765>
_______________________________________
More information about the Python-bugs-list
mailing list