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 authored and adorilson committed Mar 11, 2021
1 parent 5edbf4c commit f091303
Show file tree
Hide file tree
Showing 2 changed files with 223 additions and 90 deletions.
@@ -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.

0 comments on commit f091303

Please sign in to comment.