You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug is that this line only checks for EXTENDED_ARG instructions. It should check for instructions that deoptimize to EXTENDED_ARG (i.e. deop == EXTENDED_ARG).
In Python 3.11b0,
dis.dis()
anddis.get_instructions()
will show the "wrong" operand values for instructions prefixed by EXTENDED_ARG_QUICK.cpython/Lib/dis.py
Lines 591 to 595 in a4460f2
The bug is that this line only checks for
EXTENDED_ARG
instructions. It should check for instructions that deoptimize toEXTENDED_ARG
(i.e.deop == EXTENDED_ARG
).cpython/Lib/dis.py
Line 595 in a4460f2
To reproduce the issue, consider this snippet adapted from cloudpickle:
The text was updated successfully, but these errors were encountered: