[issue11244] Negative tuple elements produce inefficient code.
Jeffrey Harper
report at bugs.python.org
Fri Feb 18 23:25:24 CET 2011
Jeffrey Harper <jharper at yapdc.com> added the comment:
Here's a patch against the version of test_peepholer.py in 3.2rc3. It verifies that expressions like the following are optimized:
3*-4
(1,-2,3)
a in {1,-2,3)
----------
keywords: +patch
Added file: http://bugs.python.org/file20787/test_peepholer.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11244>
_______________________________________
More information about the Python-bugs-list
mailing list