]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-148613: Fix race in `gc_set_threshold` and `gc_get_threshold` (GH-150356...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 4 Jun 2026 07:13:46 +0000 (09:13 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jun 2026 07:13:46 +0000 (12:43 +0530)
commitd7505294dfdc3894ee8fb06016e038233660f89f
treeba157225094d630598759a535ac21164e9cbf8c2
parente26ad524ecfcaed34a615f9d6329c1a34d5c07eb
[3.15] gh-148613: Fix race in `gc_set_threshold` and `gc_get_threshold` (GH-150356) (#150841)

gh-148613: Fix race in `gc_set_threshold` and `gc_get_threshold` (GH-150356)
(cherry picked from commit 41eb8ee2bb8cfd4129736e1f6068e702b8bdba6c)

Co-authored-by: Edward Xu <xuxiangad@gmail.com>
Lib/test/test_free_threading/test_gc.py
Misc/NEWS.d/next/Core_and_Builtins/2026-05-24-22-46-49.gh-issue-148613.PLpmyd.rst [new file with mode: 0644]
Modules/gcmodule.c