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
{{ message }}
Repository navigation
dis output is missing information for KW_NAMES #99944
dis output is missing the constant value for KW_NAMES
This is due to a hardcoded check that the op is LOAD_CONST before grabbing the value.
This check comes after a check that the opcode is in dis.hasconst, so reasonably it can be removed to allow KW_NAMES and future opcodes that feature constants to work moving forward.
I have drafted a simple pull request #99943 to fix this bug
Activity
Sarenard commentedon Mar 14, 2023
It seems that i have the same problem, is this pr still active?
arhadthedev commentedon Apr 1, 2023
@Lorisredstone The PR needs tests and there is nobody with free time to dig into the matter and add them.
GH-99944: Make dis display the value of oparg of KW_NAMES (#103856)
iritkatriel commentedon Apr 26, 2023
Thank you @chilaxan and @jkchandalia.
pythonGH-99944: Make dis display the value of oparg of KW_NAMES (pyth…