-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
dis output is missing information for KW_NAMES #99944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
type-bug
An unexpected behavior, bug, or error
Comments
It seems that i have the same problem, is this pr still active? |
@Lorisredstone The PR needs tests and there is nobody with free time to dig into the matter and add them. |
iritkatriel
pushed a commit
that referenced
this issue
Apr 26, 2023
Co-authored-by: chilaxan <[email protected]>
Thank you @chilaxan and @jkchandalia. |
itamaro
pushed a commit
to itamaro/cpython
that referenced
this issue
Apr 26, 2023
…on#103856) Co-authored-by: chilaxan <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
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
Linked PRs
The text was updated successfully, but these errors were encountered: