]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-125723: Fix crash with f_locals when generator frame outlive their generator...
authorMikhail Efimov <efimov.mikhail@gmail.com>
Wed, 22 Jan 2025 12:50:01 +0000 (15:50 +0300)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2025 12:50:01 +0000 (15:50 +0300)
commit8e20e42cc63321dacc500d7670bfc225ca04e78b
tree672691938ebda3a7db48ee90eca67b738d02cf8b
parent24c84d816f2f2ecb76b80328c3f1d8c05ead0b10
gh-125723:  Fix crash with f_locals when generator frame outlive their generator (#126956)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Include/internal/pycore_object.h
Lib/test/test_generators.py
Misc/NEWS.d/next/Core_and_Builtins/2024-11-18-12-17-45.gh-issue-125723.tW_hFG.rst [new file with mode: 0644]
Objects/genobject.c