]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151646: Fix data race between gc.get_stats() and GC in free-threading builds ...
authorJiucheng(Oliver) <git.jiucheng@gmail.com>
Sat, 4 Jul 2026 02:07:29 +0000 (22:07 -0400)
committerGitHub <noreply@github.com>
Sat, 4 Jul 2026 02:07:29 +0000 (19:07 -0700)
commit8b1dbb1754040ec9d24eec9f48a82e899ffcf8d9
treed256ccf985204459391df3c435763233ad570f50
parent548c7314138b85cab3b945a1ce05440dd836a2ea
gh-151646: Fix data race between gc.get_stats() and GC in free-threading builds (gh-151766)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Include/internal/pycore_interp_structs.h
Lib/test/test_free_threading/test_gc_get_stats_race.py [new file with mode: 0644]
Misc/NEWS.d/next/Core_and_Builtins/2026-06-19-12-00-00.gh-issue-151646.Gc5tAt.rst [new file with mode: 0644]
Modules/gcmodule.c
Python/gc_free_threading.c