]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-116915: Make `_thread._ThreadHandle` support GC (#116934)
authormpage <mpage@meta.com>
Mon, 18 Mar 2024 08:40:16 +0000 (01:40 -0700)
committerGitHub <noreply@github.com>
Mon, 18 Mar 2024 08:40:16 +0000 (09:40 +0100)
commitb3f0c1591a85d335c89dc38a177d116d2017502d
tree1e7c5c240c2b25c4e55807cdeb72437001b64012
parent2982bdb936f76518b29cf7de356eb5fafd22d112
gh-116915: Make `_thread._ThreadHandle` support GC (#116934)

Even though it has no internal references to Python objects it still
has a reference to its type by virtue of being a heap type. We need
to provide a traverse function that visits the type, but we do not
need to provide a clear function.
Modules/_threadmodule.c