[issue17607] missed peephole optimization (unnecessary jump at end of function after yield)

Serhiy Storchaka report at bugs.python.org
Fri Jan 5 14:57:12 EST 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

This optimization already is implemented in 3.5+. Actually it is implemented as a part of code generation, not a peepholer.

----------
nosy: +serhiy.storchaka
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue17607>
_______________________________________


More information about the Python-bugs-list mailing list