Message130529
| Author |
eltoder |
| Recipients |
Arfrever, eltoder, jdharper, mark.dickinson, pitrou, r.david.murray, rhettinger |
| Date |
2011年03月10日.21:17:49 |
| SpamBayes Score |
0.00017572996 |
| Marked as misclassified |
No |
| Message-id |
<1299791872.78.0.228620664102.issue11244@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
As discussed on the list, peephole refuses to fold -0. The reasons for this are unclear. Folding was disabled with this commit:
http://hg.python.org/cpython/diff/660419bdb4ae/Python/compile.c
Here's a trivial patch to enable the folding again, along with a test case. make test passes with the patch.
The change is independent from Antoine's patches. |
|