]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-142766: Clear frame when `generator.close()` is called (gh-142838) (#142899)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 17 Dec 2025 18:33:15 +0000 (19:33 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Dec 2025 18:33:15 +0000 (18:33 +0000)
commit25a94708e515835cd3c94a96d5a1496b84950e16
tree462eb07a90e98e848bbcd867048a042fe7c88e68
parent338bdb24156ddf5d6f9af9dee444f7c2644bd28f
[3.14] gh-142766: Clear frame when `generator.close()` is called (gh-142838) (#142899)

(cherry picked from commit 25397f9541be89264d35d41a67defcfeaa950844)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Lib/test/test_generators.py
Misc/NEWS.d/next/Core_and_Builtins/2025-12-16-11-56-20.gh-issue-142766.Uy2HTm.rst [new file with mode: 0644]
Objects/genobject.c