Skip to content

Commit

Permalink
pythongh-109256: allocate opcode IDs for internal opcodes in their ow…
Browse files Browse the repository at this point in the history
…n range (python#109269)
  • Loading branch information
iritkatriel committed Sep 12, 2023
1 parent 247ee1b commit 8b55adf
Show file tree
Hide file tree
Showing 11 changed files with 757 additions and 742 deletions.
4 changes: 2 additions & 2 deletions Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1611,8 +1611,8 @@ iterations of the loop.
opcodes in the range [0,255] which don't use their argument and those
that do (``< HAVE_ARGUMENT`` and ``>= HAVE_ARGUMENT``, respectively).

If your application uses pseudo instructions, use the :data:`hasarg`
collection instead.
If your application uses pseudo instructions or specialized instructions,
use the :data:`hasarg` collection instead.

.. versionchanged:: 3.6
Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT``
Expand Down
194 changes: 97 additions & 97 deletions Include/internal/pycore_opcode_metadata.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8b55adf

Please sign in to comment.