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 <1558369621.17.0.731556061649.issue36906@roundup.psfhosted.org>
In-reply-to
Content
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?
History
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: <1558369621.17.0.731556061649.issue36906@roundup.psfhosted.org>
2019-05-20 16:27:01remi.lapeyrelinkissue36906 messages
2019-05-20 16:27:01remi.lapeyrecreate