Pekka Klärck <pekka.kla...@gmail.com> added the comment: I'd say `_attributes` is already exposed as defining it in your own node affects many of the functions in the ast module. For example, `ast.dump(node, include_attributes=True)` makes no sense otherwise.
Whatever was the reason for the leading underscore must be the same reason that added the underscore to `_fields`. That attribute is already documented. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38765> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com