[issue17611] Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.

Mark Shannon report at bugs.python.org
Mon Dec 4 12:41:52 EST 2017


Mark Shannon <mark at hotpy.org> added the comment:

Actually looking back at the original patch, the gap between __enter__ and SETUP_FINALLY *was* in the original patch. My mistake. 

The fix would to be restore SETUP_WITH. The complexity we really want to get rid of is at the end of the with statement not the start.

----------

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


More information about the Python-bugs-list mailing list