[issue32892] Remove specific constant AST types in favor of ast.Constant

Neil Schemenauer report at bugs.python.org
Mon Sep 24 18:01:33 EDT 2018


Neil Schemenauer <nas-python at arctrix.com> added the comment:

I've checked Quixote PTL module support.  I will have to make some changes to support the removal of Str and other node types.  E.g. I have to change visit_Str to visit_Constant.  The fixes are pretty easy though and I think it is reasonable that this kind of AST manipulation is dependent on Python version and may get broken between releases.

----------

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


More information about the Python-bugs-list mailing list