]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42972: _thread.RLock implements the GH protocol (GH-26734)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 15 Jun 2021 13:29:44 +0000 (06:29 -0700)
committerGitHub <noreply@github.com>
Tue, 15 Jun 2021 13:29:44 +0000 (06:29 -0700)
commite30fe27dabbc6b48736c3c17d57f6fa542376e8f
tree3c9b333a5910399e2e0161dfe0e6c3953bac47d0
parent2f2ea96c4429b81f491aa1cdc4219ef2fd6d37fb
bpo-42972: _thread.RLock implements the GH protocol (GH-26734)

The _thread.RLock type now fully implement the GC protocol: add a
traverse function and the Py_TPFLAGS_HAVE_GC flag.
(cherry picked from commit 1cd3d859a49b047dd08abb6f44f0539564d3525a)

Co-authored-by: Victor Stinner <vstinner@python.org>
Misc/NEWS.d/next/Library/2021-06-15-13-51-25.bpo-42972.UnyYo1.rst [new file with mode: 0644]
Modules/_threadmodule.c