[issue45757] dis module incorrectly handles EXTENDED_ARG + NOP sequence
Brandt Bucher
report at bugs.python.org
Tue Nov 9 12:24:08 EST 2021
Brandt Bucher <brandtbucher at gmail.com> added the comment:
I don't think that it does, since oparg gets totally reassigned each time we load a new instruction. EXTENDED_ARG actually needs to hack around this by advancing the instruction itself, updating oparg, and jumping straight into the next opcode.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45757>
_______________________________________
More information about the Python-bugs-list
mailing list