This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients eltoder, mark.dickinson, pitrou, rhettinger, twouters
Date 2011-03-11.22:26:42
SpamBayes Score 0.013584514
Marked as misclassified No
Message-id <1299882405.11.0.290126574564.issue11462@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry Eugene.  As the person who designed, implemented, and maintains the peephole optimizer, I need to reject the patch.

If better constant folding is wanted, the work needs to be done with AST, not with bytecode.  I would welcome a patch.

Thomas, thanks for your input.
History
Date User Action Args
2011-03-11 22:26:45rhettingersetrecipients: + rhettinger, twouters, mark.dickinson, pitrou, eltoder
2011-03-11 22:26:45rhettingersetmessageid: <1299882405.11.0.290126574564.issue11462@psf.upfronthosting.co.za>
2011-03-11 22:26:43rhettingerlinkissue11462 messages
2011-03-11 22:26:42rhettingercreate