Skip to content

Conversation

jkchandalia
Copy link
Contributor

@jkchandalia jkchandalia commented Apr 25, 2023

Make the dis module display the value of the oparg of KW_NAMES.

Co-authored-by: chilaxan [email protected]

Fixes #99944

chilaxan and others added 3 commits April 25, 2023 13:27
3.11 adds a new opcode KW_NAMES that has an entry in co_consts, however the hardcoded check here causes dis to not grab the constant
@jkchandalia
Copy link
Contributor Author

FYI @iritkatriel

@iritkatriel iritkatriel changed the title GH-99944: Add test to verify dis output contains information for KW_NAMES GH-99944: Make dis display the value of oparg of KW_NAMES Apr 25, 2023
@iritkatriel iritkatriel added type-feature A feature request or enhancement stdlib Standard Library Python modules in the Lib/ directory labels Apr 25, 2023
@iritkatriel iritkatriel merged commit d45225b into python:main Apr 26, 2023
@jkchandalia
Copy link
Contributor Author

FYI @nanjekyejoannah

itamaro pushed a commit to itamaro/cpython that referenced this pull request Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Standard Library Python modules in the Lib/ directory type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dis output is missing information for KW_NAMES
4 participants