]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-116008: Detect freed thread state in faulthandler (GH-141988) (#142013)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 27 Nov 2025 20:34:00 +0000 (21:34 +0100)
committerGitHub <noreply@github.com>
Thu, 27 Nov 2025 20:34:00 +0000 (20:34 +0000)
commita1dd2480226370b6924dbd8a59f9c86dc856047b
tree72df3166d0619c39e68c65703f5844170bc485ca
parent64d6bde38ffb97a6f7c7fee82ba98de81911f1b9
[3.14] gh-116008: Detect freed thread state in faulthandler (GH-141988) (#142013)

gh-116008: Detect freed thread state in faulthandler (GH-141988)

Add _PyMem_IsULongFreed() function.
(cherry picked from commit d5d9e89dde9843a61b46872b1914c5b75ad05998)

Co-authored-by: Victor Stinner <vstinner@python.org>
Include/internal/pycore_pymem.h
Python/traceback.c