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 serhiy.storchaka
Recipients Adrian Wielgosik, serhiy.storchaka
Date 2016-11-27.11:59:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thank you for your patch Adrian. I haven't close look, but at first glance your patch looks correct, and the idea looks great.

But moving constant folding from the peephole optimizer to the AST level (issue1346238, issue11549) would totally eliminate the need in your patch. I'll push your patch if AST optimizer will be not implemented in 3.7.

On other hand, your patch looks simple enough, and my be pushed first.

It would be easy to review if provide your changes as one patch.
Date User Action Args
2016-11-27 11:59:24serhiy.storchakasetrecipients: + serhiy.storchaka, Adrian Wielgosik
2016-11-27 11:59:24serhiy.storchakasetmessageid: <>
2016-11-27 11:59:24serhiy.storchakalinkissue28813 messages
2016-11-27 11:59:24serhiy.storchakacreate