8000 gh-93554: Conditional jumps only jump forward by iritkatriel · Pull Request #96318 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-93554: Conditional jumps only jump forward #96318

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

Merged
merged 11 commits into from
Sep 1, 2022
Prev Previous commit
Next Next commit
fix versionadded in dis.rst
  • Loading branch information
iritkatriel committed Aug 31, 2022
commit 22e0b30f073639372bd6b1cfdaf196ef9c6e82c3
12 changes: 8 additions & 4 deletions Doc/library/dis.rst
8000
Original file line number Diff line number Diff line change
Expand Up @@ -1003,22 +1003,26 @@ iterations of the loop.

If TOS is true, increments the bytecode counter by *delta*. TOS is popped.

.. versionadded:: 3.11
.. versionchanged:: 3.11
The oparg is now a relative delta rather than an absolute target.
This opcode is a pseudo-instruction, replaced in final bytecode by
the directed versions (forward/backward).

.. versionchanged:: 3.12
This is no longer a pseudo-instruction.


.. opcode:: POP_JUMP_IF_FALSE (delta)

If TOS is false, increments the bytecode counter by *delta*. TOS is popped.

.. versionadded:: 3.11
.. versionchanged:: 3.11
The oparg is now a relative delta rather than an absolute target.
This opcode is a pseudo-instruction, replaced in final bytecode by
the directed versions (forward/backward).

.. versionchanged:: 3.12
This is no longer a pseudo-instruction.


.. opcode:: POP_JUMP_IF_NOT_NONE (delta)

If TOS is not ``None``, increments the bytecode counter by *delta*. TOS is popped.
Expand Down
0