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 remi.lapeyre
Recipients gregory.p.smith, mbussonn, pablogsal, remi.lapeyre, rhettinger, serhiy.storchaka, steven.daprano
Date 2019-05-20.16:27:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks @serhiy.storchaka, it's far easier to do here. I pushed the patch to the attached PR. Is there a reason the other optimisations in the Peephole optimizer are not done in the AST?
Date User Action Args
2019-05-20 16:27:01remi.lapeyresetrecipients: + remi.lapeyre, rhettinger, gregory.p.smith, steven.daprano, serhiy.storchaka, mbussonn, pablogsal
2019-05-20 16:27:01remi.lapeyresetmessageid: <>
2019-05-20 16:27:01remi.lapeyrelinkissue36906 messages
2019-05-20 16:27:01remi.lapeyrecreate