]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-96793: Implement PEP 479 in bytecode. (GH-99006)
authorMark Shannon <mark@hotpy.org>
Thu, 3 Nov 2022 11:38:51 +0000 (04:38 -0700)
committerGitHub <noreply@github.com>
Thu, 3 Nov 2022 11:38:51 +0000 (11:38 +0000)
commitf4adb975061874566766f7a67206cb7b0439bc11
tree136b2e8b97fd8811cef1d2ff46d31fb61f26183a
parente9ac890c0273aee413aa528cc202c3efa29f1d7a
GH-96793: Implement PEP 479 in bytecode. (GH-99006)

* Handle converting StopIteration to RuntimeError in bytecode.

* Add custom instruction for converting StopIteration into RuntimeError.
14 files changed:
Doc/library/dis.rst
Include/internal/pycore_opcode.h
Include/opcode.h
Lib/importlib/_bootstrap_external.py
Lib/opcode.py
Lib/test/test_dis.py
Lib/test/test_sys.py
Lib/test/test_sys_settrace.py
Misc/NEWS.d/next/Core and Builtins/2022-11-02-14-42-35.gh-issue-96793.q0Oi74.rst [new file with mode: 0644]
Objects/genobject.c
Python/bytecodes.c
Python/compile.c
Python/generated_cases.c.h
Python/opcode_targets.h