]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-128078: Use `PyErr_SetRaisedException` in `_PyGen_SetStopIterationValue...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 3 Feb 2025 23:28:14 +0000 (00:28 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Feb 2025 23:28:14 +0000 (00:28 +0100)
commit64396fb12492542e63be31a98aac487ff114a1e6
tree4b93b5d161ea663a5644203ce605c69908c9b917
parent6985b4be9b01f3c6d581a93e58f5b14adb793d92
[3.12] gh-128078: Use `PyErr_SetRaisedException` in `_PyGen_SetStopIterationValue` (GH-128287) (#128790)

gh-128078: Use `PyErr_SetRaisedException` in `_PyGen_SetStopIterationValue` (GH-128287)
(cherry picked from commit 402b91da87052878b4e7e8946ba91bdf4ee4bebe)

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
Objects/genobject.c