Skip to content

Commit 8b55adf

Browse files
authored
gh-109256: allocate opcode IDs for internal opcodes in their own range (#109269)
1 parent 247ee1b commit 8b55adf

File tree

11 files changed

+757
-742
lines changed

11 files changed

+757
-742
lines changed

Doc/library/dis.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,8 +1611,8 @@ iterations of the loop.
16111611
opcodes in the range [0,255] which don't use their argument and those
16121612
that do (``< HAVE_ARGUMENT`` and ``>= HAVE_ARGUMENT``, respectively).
16131613

1614-
If your application uses pseudo instructions, use the :data:`hasarg`
1615-
collection instead.
1614+
If your application uses pseudo instructions or specialized instructions,
1615+
use the :data:`hasarg` collection instead.
16161616

16171617
.. versionchanged:: 3.6
16181618
Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT``

Include/internal/pycore_opcode_metadata.h

Lines changed: 97 additions & 97 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy