-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Isolate the _io extension module #101819
Copy link
Copy link
Closed
Labels
3.12only security fixesonly security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-subinterpreterstype-featureA feature request or enhancementA feature request or enhancement
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-subinterpreterstype-featureA feature request or enhancementA feature request or enhancement
Projects
Status
Done
Isolate the
_ioextension module by moving all global variables to module state, porting static types to heap types, and implementing multi-phase init. All global variables in the_iomodule are static types:Converting the static types to heap types involves applying PEP-687 to
_io.Adapting multi-phase init involves applying PEP-489 to
_io.Linked PRs