Skip to content

Commit

Permalink
bpo-1635741: Port _thread to multiphase init (GH-23811)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vstinner committed Dec 18, 2020
1 parent 6e799be commit 6104013
Show file tree
Hide file tree
Showing 2 changed files with 223 additions and 90 deletions.
Original file line number Diff line number Diff line change
@@ -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.
Loading

0 comments on commit 6104013

Please sign in to comment.