]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43683: Streamline YIELD_VALUE and SEND (GH-30723)
authorMark Shannon <mark@hotpy.org>
Mon, 24 Jan 2022 11:08:53 +0000 (11:08 +0000)
committerGitHub <noreply@github.com>
Mon, 24 Jan 2022 11:08:53 +0000 (11:08 +0000)
commit0367a36fdc36b9c909c4d5acf7cde6ceeec0ba69
tree1a87e9cb04dca5ef87abc4bd55540bdb41bd2172
parentd75a51bea3c2442f81d38ff850b81b8b7f3330f0
bpo-43683: Streamline YIELD_VALUE and SEND (GH-30723)

* Split YIELD_VALUE into ASYNC_GEN_WRAP; YIELD_VALUE for async generators.

* Split SEND into SEND; YIELD_VALUE.

* Document new opcodes.
Doc/library/dis.rst
Include/opcode.h
Lib/importlib/_bootstrap_external.py
Lib/opcode.py
Misc/NEWS.d/next/Core and Builtins/2022-01-20-17-13-49.bpo-43683.BqQ26Z.rst [new file with mode: 0644]
Objects/genobject.c
Python/ceval.c
Python/compile.c
Python/opcode_targets.h