Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Isolate Stdlib Extension Modules #103092

Open
Labels
extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement
@ericsnowcurrently

Description

@ericsnowcurrently

SeePEP 687.

Currently most stdlib extension have been ported to multi-phase init. There are still a number of them to be ported, almost entirely non-builtin modules. Also, some that have already been ported still have global state that needs to be fixed.

(This is part of the effort to finish isolating multiple interpreters from each other. Seegh-100227.)

High-Level Info

How to isolate modules:https://docs.python.org/3/howto/isolating-extensions.html (AKA PEP 630).

The full list of modules that need porting can be found with:...

The full list of remaining (unsupported) global variables is:

A full analysis of the modules may be found at the bottom of this post.

(other info)

Previous Work

Related Links

TODO

Here is the list of modules that need attention, in arough, best-effort priority order. Additional details (e.g. if there is an issue and/or PR) is found in the analysis table at the bottom.

The above does not include test modules. They don't need to be ported/isolated (except for a few which already have been).


Modules Analysis

modulebuiltinWindowsPEP 594issuePRported# static types# other global objects# other globals
_asyncioyes2
_collectionsX(???)(branch)yes7
_ctypes**NO**3764
_curses**NO**124
_curses_panelyes1
_datetimegh-71587gh-102995**NO**7101
_decimal**NO**4106
_elementtreeyes1
_ioXgh-101819gh-101520**NO**5
_lsprofyes2
_multibytecodecyes23
_pickle(???)(yes)**NO**5
_socket**NO**123
_ssl(???)(branch)yes1
_tkinter**NO**89
_tracemallocXgh-101520**NO**67
arrayyes1
faulthandlerXgh-101509yes3+~22+
msvcrtY**NO**?????????
pyexpatyes1
readline**NO**9
winregY**NO**?????????
winsoundY**NO**?????????
test/example modules

These can be ported/isolated but don't have to be. They are the lowest priority.

moduleissuePRported# static types# other global objects# other globals
xxmodule31
xxsubtype2
xxlimited_352
...
...

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp