Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

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.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38381>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to