[issue37500] 3.8.0b2 no longer optimizes away "if 0:" ?
Guido van Rossum
report at bugs.python.org
Mon Jul 8 12:54:56 EDT 2019
Guido van Rossum <guido at python.org> added the comment:
Sure seems to me as if we need to have a separate pass that looks for out-of-place `return`, `yield`, `break` and `continue`, run before the optimization removes `if 0:` blocks etc.
----------
nosy: +gvanrossum
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37500>
_______________________________________
More information about the Python-bugs-list
mailing list