[issue11462] Peephole creates duplicate and unused constants

Eugene Toder report at bugs.python.org
Fri Mar 11 05:53:43 CET 2011


Eugene Toder <eltoder at gmail.com> added the comment:

I think the changes are fairly trivial. dedup_const_planb.patch is about 10 lines of new code with all the rest being trivial plubming. unused_consts.patch may look big, but only because I factored out fix ups into a separate function; there are only about 25 lines of new code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11462>
_______________________________________


More information about the Python-bugs-list mailing list