bpo-1635741: Port _thread to multiphase init by vstinner · Pull Request #23811 · python/cpython (original) (raw)

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

vstinner

@vstinner

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

@vstinner vstinner changed the titlebpo-1635741: Port _thread to multiphase init [WIP] bpo-1635741: Port _thread to multiphase init

Dec 16, 2020

@vstinner

@vstinner

@vstinner vstinner changed the title[WIP] bpo-1635741: Port _thread to multiphase init bpo-1635741: Port _thread to multiphase init

Dec 18, 2020

@vstinner vstinner marked this pull request as ready for review

December 18, 2020 00:21

adorilson pushed a commit to adorilson/cpython that referenced this pull request

Mar 13, 2021

@vstinner @adorilson

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.

@kylotan kylotan mannequin mentioned this pull request

Sep 19, 2022