[issue32892] Remove specific constant AST types in favor of ast.Constant
Guido van Rossum
report at bugs.python.org
Thu Sep 20 12:53:21 EDT 2018
Guido van Rossum <guido at python.org> added the comment:
I don't feel confident reviewing the code, but I'm okay with the change. Can you describe what usages of the old API will continue to work, and what part will break? (It would seem that code that creates a tree using e.g. Num(42) will still work, but code inspecting a tree won't see any Num instances, only Constant instances.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32892>
_______________________________________
More information about the Python-bugs-list
mailing list