]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43683: Handle generator entry in bytecode (GH-25138)
authorMark Shannon <mark@hotpy.org>
Tue, 6 Apr 2021 10:48:59 +0000 (11:48 +0100)
committerGitHub <noreply@github.com>
Tue, 6 Apr 2021 10:48:59 +0000 (11:48 +0100)
commitb37181e69209746adc2119c471599a1ea5faa6c8
tree3605b5e9447fe18ed0c87b745daef1216301583f
parent489c36920e94bfb4988b6f965bd0aafdfaff0d4f
bpo-43683: Handle generator entry in bytecode (GH-25138)

* Handle check for sending None to starting generator and coroutine into bytecode.

* Document new bytecode and make it fail gracefully if mis-compiled.
Doc/library/dis.rst
Include/opcode.h
Lib/importlib/_bootstrap_external.py
Lib/opcode.py
Misc/NEWS.d/next/Core and Builtins/2021-04-01-12-30-30.bpo-43683.AjxOx2.rst [new file with mode: 0644]
Objects/genobject.c
Python/ceval.c
Python/compile.c
Python/importlib_external.h
Python/opcode_targets.h