]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-149590: Remove faulthandler_traverse (#150023)
authorArmaan Vakharia <43391096+armaan-v924@users.noreply.github.com>
Mon, 18 May 2026 23:00:59 +0000 (16:00 -0700)
committerGitHub <noreply@github.com>
Mon, 18 May 2026 23:00:59 +0000 (16:00 -0700)
commit56737483c2ffdaadfec648fd38d409c6b10941c0
treee98a1dda36b7fa664d4ed49dbb29230be34bcacc
parent9770e32ce07110f0c8c7a381604ec9a490028eed
gh-149590: Remove faulthandler_traverse (#150023)

`faulthandler_traverse` visits Python objects owned by `_PyRuntime`, not
by the module instance. With multi-phase init allowing multiple module
instances, each instance's GC traversal decrements `gc_refs` on the same
runtime-owned objects, driving it negative when two instances are
collected simultaneously.
Misc/NEWS.d/next/Core_and_Builtins/2026-05-18-13-47-17.gh-issue-149590.IPBeQx.rst [new file with mode: 0644]
Modules/faulthandler.c