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

Deprecate dis.HAVE_ARGUMENT #109319

Closed
iritkatriel opened this issue Sep 12, 2023 · 0 comments · Fixed by #109320
Closed

Deprecate dis.HAVE_ARGUMENT #109319

iritkatriel opened this issue Sep 12, 2023 · 0 comments · Fixed by #109320
Labels
3.13 new features, bugs and security fixes stdlib Python modules in the Lib dir

Comments

@iritkatriel
Copy link
Member

iritkatriel commented Sep 12, 2023

dis.HAVE_ARGUMENT is only correct for 'normal' opcodes (not specialised, instrumented or pseudo ops). We have the dis.hasarg alternative now, which is correct for all opcode types.

Linked PRs

iritkatriel added a commit to iritkatriel/cpython that referenced this issue Sep 12, 2023
@iritkatriel iritkatriel added stdlib Python modules in the Lib dir 3.13 new features, bugs and security fixes labels Sep 12, 2023
vstinner pushed a commit to vstinner/cpython that referenced this issue Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 new features, bugs and security fixes stdlib Python modules in the Lib dir
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant