summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2020-12-16-23-28-52.bpo-1635741.Quy3zn.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-12-18 00:39:00 (GMT)
committerGitHub <noreply@github.com>2020-12-18 00:39:00 (GMT)
commit6104013838e181e3c698cb07316f449a0c31ea96 (patch)
tree98de67bc9d313212ebf5feb0ca8a675311f2cf05 /Misc/NEWS.d/next/Library/2020-12-16-23-28-52.bpo-1635741.Quy3zn.rst
parent6e799be0a18d0bb5bbbdc77cd3c30a229d31dfb4 (diff)
downloadcpython-6104013838e181e3c698cb07316f449a0c31ea96.zip
cpython-6104013838e181e3c698cb07316f449a0c31ea96.tar.gz
cpython-6104013838e181e3c698cb07316f449a0c31ea96.tar.bz2
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.
Diffstat (limited to 'Misc/NEWS.d/next/Library/2020-12-16-23-28-52.bpo-1635741.Quy3zn.rst')
-rw-r--r--Misc/NEWS.d/next/Library/2020-12-16-23-28-52.bpo-1635741.Quy3zn.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-12-16-23-28-52.bpo-1635741.Quy3zn.rst b/Misc/NEWS.d/next/Library/2020-12-16-23-28-52.bpo-1635741.Quy3zn.rst
new file mode 100644
index 0000000..3412c20
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-12-16-23-28-52.bpo-1635741.Quy3zn.rst
@@ -0,0 +1,2 @@
+Port the :mod:`_thread` extension module to the multiphase initialization
+API (:pep:`489`) and convert its static types to heap types.