[issue28813] Remove unneeded folded consts after peephole
Adrian Wielgosik
report at bugs.python.org
Sun Nov 27 08:13:30 EST 2016
Adrian Wielgosik added the comment:
Attached squashed patch.
> But moving constant folding from the peephole optimizer to the AST level (...) would totally eliminate the need in your patch.
I'm aware of that and I'm okay with it. I chose an unfortunate moment for implementing this :)
----------
Added file: http://bugs.python.org/file45664/clean_co_consts_squashed.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28813>
_______________________________________
More information about the Python-bugs-list
mailing list