[issue32949] Simplify "with"-related opcodes

Mark Shannon report at bugs.python.org
Sun Mar 18 17:07:29 EDT 2018


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

I intend to reuse RERAISE to implement the exceptional case for a finally block. Something like:

SETUP_FINALLY final
    body
    finalbody
JUMP exit
final:
     finalbody
     RERAISE
exit:

----------

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


More information about the Python-bugs-list mailing list