]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-126312: Don't traverse frozen objects on the free-threaded build (#126338)
authorPeter Bierma <zintensitydev@gmail.com>
Fri, 15 Nov 2024 10:21:30 +0000 (05:21 -0500)
committerGitHub <noreply@github.com>
Fri, 15 Nov 2024 10:21:30 +0000 (11:21 +0100)
commitd4c72fed8cba8e15ab7bb6c30a92bc9f2c8f0a2c
tree89a8d7c1b8cd2eb3de00dc072dec5d3559af5fe9
parent8717f792f7cc343599dc60daf80630cceb66145b
gh-126312: Don't traverse frozen objects on the free-threaded build (#126338)

Also, _PyGC_Freeze() no longer freezes unreachable objects.

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Lib/test/test_gc.py
Misc/NEWS.d/next/Core_and_Builtins/2024-11-02-14-43-46.gh-issue-126312.LMHzLT.rst [new file with mode: 0644]
Python/gc_free_threading.c