Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:
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. ---------- nosy: +rhettinger status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11462> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com