]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-118272: Clear generator frame's locals when the generator is closed (#118277)
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>
Tue, 30 Apr 2024 18:32:25 +0000 (19:32 +0100)
committerGitHub <noreply@github.com>
Tue, 30 Apr 2024 18:32:25 +0000 (19:32 +0100)
commit1f16b4ce569f222af74fcbb7b2ef98eee2398d20
tree7622e1756c99f6028b41585131a317948762f221
parentf7747f73a9d9b9b1661c1a69cd8d934d56bbd3b3
gh-118272: Clear generator frame's locals when the generator is closed (#118277)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Include/internal/pycore_frame.h
Lib/test/test_generators.py
Misc/NEWS.d/next/Core and Builtins/2024-04-25-12-55-47.gh-issue-118272.5ptjk_.rst [new file with mode: 0644]
Objects/genobject.c
Python/frame.c