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

Neil Schemenauer report at bugs.python.org
Fri Sep 21 12:40:09 EDT 2018


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

As someone who does AST manipulation (Quixote PTL template support), I'm interested in this patch. I think what is proposed sounds like a good change.  I.e. having the extra node types is not useful and makes the compiler harder to understand.  Providing subclasses for backwards compatibility would be nice.  I will test my Quixote package with Serhiy's patch.

----------
nosy: +nascheme

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


More information about the Python-bugs-list mailing list