]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:20:49 +0000 (14:20 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Jan 2025 13:20:49 +0000 (13:20 +0000)
commit66d06360252cd3dc26edfbe5d30c51aa7505524a
tree8a9c51d25393e889730fc0fd6d45276db1d7d162
parent632745ade18f5baa39e41613f86114d95c5dce73
[3.13] gh-128078: Clear exception in `anext` before calling `_PyGen_SetStopIterationValue` (GH-128780) (#128785)

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