summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Core and Builtins/2024-04-30-23-06-10.gh-issue-118272.5ptjk_.rst
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2024-05-02 15:22:50 (GMT)
committerGitHub <noreply@github.com>2024-05-02 15:22:50 (GMT)
commit238efbecab24204f822b1d1611914f5bcb2ae2de (patch)
treec4ea5b0a5094613a167746ed4b140d13c2f35040 /Misc/NEWS.d/next/Core and Builtins/2024-04-30-23-06-10.gh-issue-118272.5ptjk_.rst
parentf61de0de649d31a96bacb7625d6a7b98d23b14bb (diff)
downloadcpython-238efbecab24204f822b1d1611914f5bcb2ae2de.zip
cpython-238efbecab24204f822b1d1611914f5bcb2ae2de.tar.gz
cpython-238efbecab24204f822b1d1611914f5bcb2ae2de.tar.bz2
[3.12] gh-118272: Clear generator frame's locals when the generator is closed (#118451)
Diffstat (limited to 'Misc/NEWS.d/next/Core and Builtins/2024-04-30-23-06-10.gh-issue-118272.5ptjk_.rst')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2024-04-30-23-06-10.gh-issue-118272.5ptjk_.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-04-30-23-06-10.gh-issue-118272.5ptjk_.rst b/Misc/NEWS.d/next/Core and Builtins/2024-04-30-23-06-10.gh-issue-118272.5ptjk_.rst
new file mode 100644
index 0000000..3204344
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2024-04-30-23-06-10.gh-issue-118272.5ptjk_.rst
@@ -0,0 +1,2 @@
+Fix bug where ``generator.close`` does not free the generator frame's
+locals.