]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-1635741: Port _thread to multiphase init (GH-23811)
authorVictor Stinner <vstinner@python.org>
Fri, 18 Dec 2020 00:39:00 +0000 (01:39 +0100)
committerGitHub <noreply@github.com>
Fri, 18 Dec 2020 00:39:00 +0000 (01:39 +0100)
commit6104013838e181e3c698cb07316f449a0c31ea96
tree98de67bc9d313212ebf5feb0ca8a675311f2cf05
parent6e799be0a18d0bb5bbbdc77cd3c30a229d31dfb4
bpo-1635741: Port _thread to multiphase init (GH-23811)

Port the _thread extension module to the multiphase initialization
API (PEP 489) and convert its static types to heap types.

Add a traverse function to the lock type, so the garbage collector
can break reference cycles.
Misc/NEWS.d/next/Library/2020-12-16-23-28-52.bpo-1635741.Quy3zn.rst [new file with mode: 0644]
Modules/_threadmodule.c