mirror of
https://github.com/python/cpython.git
synced 2025-10-28 17:13:08 +00:00
gh-118272: Clear generator frame's locals when the generator is closed (#118277)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
This commit is contained in:
parent
f7747f73a9
commit
1f16b4ce56
5 changed files with 38 additions and 5 deletions
|
|
@ -0,0 +1,2 @@
|
|||
Fix bug where ``generator.close`` does not free the generator frame's
|
||||
locals.
|
||||
Loading…
Add table
Add a link
Reference in a new issue