]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-46009: Do not exhaust generator when send() method raises (GH-29986)....
authorMark Shannon <mark@hotpy.org>
Wed, 8 Dec 2021 14:46:32 +0000 (14:46 +0000)
committerGitHub <noreply@github.com>
Wed, 8 Dec 2021 14:46:32 +0000 (14:46 +0000)
commit99c72326d245fb604609a87a51ef1ad0845467b7
tree62317e0c33adb14af339a75d924365c2957ba8c3
parentcca3004f64d49c9e170396ac787712fe03bffb29
[3.10] bpo-46009: Do not exhaust generator when send() method raises (GH-29986). (GH-29988)

* [3.10] bpo-46009: Do not exhaust generator when send() method raises (GH-29986).
(cherry picked from commit 69806b9516dbe092381f3ef884c7c64bb9b8414a)

Co-authored-by: Mark Shannon <mark@hotpy.org>
* Rename variable after cherry-pick.

* Add NULL check.
Doc/library/dis.rst
Lib/test/test_generators.py
Misc/NEWS.d/next/Core and Builtins/2021-12-08-11-06-53.bpo-46009.cL8pH0.rst [new file with mode: 0644]
Objects/genobject.c
Python/ceval.c