X Tutup
The Wayback Machine - https://web.archive.org/web/20221207034327/https://github.com/python/cpython/pull/99943
Skip to content
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

gh-99944: remove hardcoded check that op is LOAD_CONST #99943

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chilaxan
Copy link
Contributor

@chilaxan chilaxan commented Dec 2, 2022

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

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
Copy link
Member

@sobolevn sobolevn left a comment

Please, add a test-case and change your PR title to start with gh-99944:

@chilaxan chilaxan changed the title remove hardcoded check that op is LOAD_CONST gh-99944: remove hardcoded check that op is LOAD_CONST Dec 4, 2022
@chilaxan
Copy link
Contributor Author

chilaxan commented Dec 4, 2022

Please, add a test-case and change your PR title to start with gh-99944:

can you give me a resource for adding a test case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants
X Tutup