]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-131670: Fix crash in `anext()` when `__anext__` is sync and raises (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Mar 2025 19:18:29 +0000 (20:18 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Mar 2025 19:18:29 +0000 (19:18 +0000)
commit76e911a040aaf16f0c76b7d2a2f29582cb98c32d
treec82f9e9bff572c4e20346b290bc36b70556ca6d1
parent8159805b877a918dec8c9b5b02bff4f064ae79f3
[3.12] gh-131670: Fix crash in `anext()` when `__anext__` is sync and raises (GH-131682) (#131687)

gh-131670: Fix crash in `anext()` when `__anext__` is sync and raises (GH-131682)
(cherry picked from commit 929afd1d6ee4fb89ac818037effe6577947103de)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/test/test_asyncgen.py
Misc/NEWS.d/next/Core_and_Builtins/2025-03-24-19-38-53.gh-issue-131670.IffOZj.rst [new file with mode: 0644]
Python/bltinmodule.c