]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-128078: Clear exception in `anext` before calling `_PyGen_SetStopIterationV...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 13 Jan 2025 13:15:20 +0000 (14:15 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Jan 2025 13:15:20 +0000 (18:45 +0530)
commit4facd7d119a63bcd598260e06977d6b792592b88
tree159679fe296bbf62482d06f5c3672681fc9f3849
parent8448552579f94a9438ac9936c233b1d35f685ded
[3.12] gh-128078: Clear exception in `anext` before calling `_PyGen_SetStopIterationValue` (GH-128780) (#128784)

gh-128078: Clear exception in `anext` before calling `_PyGen_SetStopIterationValue` (GH-128780)
(cherry picked from commit 76ffaef729c91bb79da6df2ade48f3ec51118300)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Lib/test/test_asyncgen.py
Misc/NEWS.d/next/Core_and_Builtins/2025-01-13-12-48-30.gh-issue-128078.qOsl9B.rst [new file with mode: 0644]
Objects/genobject.c
Objects/iterobject.c