[3.14] gh-135447: Document the `NOT_TAKEN & POP_ITER` bytecode instructions (GH-135803) (#139399)
Some checks are pending
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Android (aarch64) (push) Blocked by required conditions
Tests / Android (x86_64) (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run

Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Ken Jin <kenjin4096@gmail.com>
This commit is contained in:
Miss Islington (bot) 2025-09-28 21:02:33 +02:00 committed by GitHub
parent 73a575ffea
commit c82079e0b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -585,6 +585,22 @@ operations on it as if it was a Python list. The top of the stack corresponds to
generate line tracing events.
.. opcode:: NOT_TAKEN
Do nothing code.
Used by the interpreter to record :monitoring-event:`BRANCH_LEFT`
and :monitoring-event:`BRANCH_RIGHT` events for :mod:`sys.monitoring`.
.. versionadded:: 3.14
.. opcode:: POP_ITER
Removes the iterator from the top of the stack.
.. versionadded:: 3.14
.. opcode:: POP_TOP
Removes the top-of-stack item::