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 rhettinger, serhiy.storchaka
Date 2019-10-06.07:01:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570345287.28.0.647854050328.issue38381@roundup.psfhosted.org>
In-reply-to
Content
I thought about this. But STORE_FAST x is followed by LOAD_FAST x just by accident. If you change the expression (1+x**2 or f(x**2)) they no longer be neighbors. I am not sure this pattern is common enough. There are more common pairs.

Also, note that LOAD_FAST belong to the different line of code. It should be preserved for debugging purpose. Otherwise you could not set a breakpoint on the first line of the loop body.
History
Date User Action Args
2019-10-06 07:01:27serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger
2019-10-06 07:01:27serhiy.storchakasetmessageid: <1570345287.28.0.647854050328.issue38381@roundup.psfhosted.org>
2019-10-06 07:01:27serhiy.storchakalinkissue38381 messages
2019-10-06 07:01:26serhiy.storchakacreate