Skip to content

Add a Test to Verify All Stdlib Modules Can Be Imported in an Isolated Subinterpreter #104289

Open
@ericsnowcurrently

Description

@ericsnowcurrently

(This is a follow-up to gh-103092 and gh-104108.)

It may be worth having a test that tries importing every stdlib module in a subinterpreter that has its own GIL. This would ensure that all our builtin/extension modules are isolated (implement multi-phase init and have a Py_MOD_PER_INTERPRETER_GIL_SUPPORTED slot).

(Such a test should fail until gh-103092 is finished.)

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions