Skip to content

convert module initialization to use pep 489 slots#4081

Closed
davidhewitt wants to merge 1 commit intoPyO3:mainfrom
davidhewitt:pep-489
Closed

convert module initialization to use pep 489 slots#4081
davidhewitt wants to merge 1 commit intoPyO3:mainfrom
davidhewitt:pep-489

Conversation

@davidhewitt
Copy link
Member

Supersedes #2245

This is a very first draft of starting to support PEP 489, which is necessary if we want module state (instead of static state). I expect this to come in handy in particular for supporting freethreaded Python and subinterpreters.

This is very much a draft of some stuff I started fiddling around with a couple of weeks ago, so not at all reviewable yet. I just don't want to forget I started this, so pushing it.

@davidhewitt
Copy link
Member Author

Superseded by #5142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant