[issue11549] Rewrite peephole to work on AST
Georg Brandl
report at bugs.python.org
Sun Mar 27 13:50:50 CEST 2011
Georg Brandl <georg at python.org> added the comment:
I would provide this via another compile flag a la PyCF_ONLY_AST. If you give only this flag, you get the original AST. If you give (e.g.)
PyCF_OPTIMIZED_AST, you get the resulting AST after the optimization stage (or the same, if optimization has been disabled).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11549>
_______________________________________
More information about the Python-bugs-list
mailing list