[issue46724] Odd Bytecode Generation in 3.10
Saul Shanabrook
report at bugs.python.org
Sat Feb 12 09:24:13 EST 2022
Saul Shanabrook <s.shanabrook at gmail.com> added the comment:
Ah, I see that to represent a negative 4 byte signed integer as an arg, we actually do need the 4 instructions, since each is a byte, to get the most significant bit to a 1?
I wasn't able to find anything anywhere which says if the bytecode should or should not contain negative opargs, so I am not sure if this is a bug or intended behavior, to emit the three EXTENDED_ARGs in order to represent
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46724>
_______________________________________
More information about the Python-bugs-list
mailing list