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

Several Python 3.13 opcodes are not documented #122838

Open
MatthieuDartiailh opened this issue Aug 8, 2024 · 2 comments
Open

Several Python 3.13 opcodes are not documented #122838

MatthieuDartiailh opened this issue Aug 8, 2024 · 2 comments
Labels
3.13 bugs and security fixes docs Documentation in the Doc dir interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@MatthieuDartiailh
Copy link
Contributor

MatthieuDartiailh commented Aug 8, 2024

Documentation

The following opcodes which can appear in the output of dis, do not appear in the documentation https://docs.python.org/3.13/library/dis.html:

  • LOAD_FAST_LOAD_FAST
  • LOAD_FROM_DICT_OR_DEREF
  • LOAD_FROM_DICT_OR_GLOBAL
  • STORE_FAST_STORE_FAST
  • STORE_FAST_LOAD_FAST
  • STORE_FAST_STORE_FAST
  • ENTER_EXECUTOR

Linked PRs

@MatthieuDartiailh MatthieuDartiailh added the docs Documentation in the Doc dir label Aug 8, 2024
@MatthieuDartiailh MatthieuDartiailh changed the title STORE_FAST_STORE_FAST and LOAD_FAST_LOAD_FAST opcodes are not documented Several Python 3.13 opcodes are not documented Aug 8, 2024
@ZeroIntensity
Copy link
Member

Needs to be reflected in typeshed as well.

@AA-Turner AA-Turner added interpreter-core (Objects, Python, Grammar, and Parser dirs) 3.13 bugs and security fixes labels Aug 8, 2024
kamilturek added a commit to kamilturek/cpython that referenced this issue Aug 16, 2024
@kamilturek
Copy link
Contributor

LOAD_FROM_DICT_OR_DECREF, LOAD_FROM_DICT_OR_GLOBALS are already documented.

I'll open a PR documenting LOAD_FAST_LOAD_FAST, STORE_FAST_STORE_FAST, STORE_FAST_LOAD_FAST.

I'm not quite sure what ENTER_EXECUTOR does.

iritkatriel added a commit to kamilturek/cpython that referenced this issue Nov 6, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Nov 6, 2024
(cherry picked from commit 9cba47d)

Co-authored-by: Kamil Turek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes docs Documentation in the Doc dir interpreter-core (Objects, Python, Grammar, and Parser dirs)
Projects
None yet
Development

No branches or pull requests

4 participants