Skip to content

GH-104289: Test importing all stdlib modules in subinterpreters#133392

Open
AA-Turner wants to merge 1 commit intopython:mainfrom
AA-Turner:interpreters-stdlib-test
Open

GH-104289: Test importing all stdlib modules in subinterpreters#133392
AA-Turner wants to merge 1 commit intopython:mainfrom
AA-Turner:interpreters-stdlib-test

Conversation

@AA-Turner
Copy link
Copy Markdown
Member

@AA-Turner AA-Turner commented May 4, 2025

I don't think the set of build stdlib extension modules is recorded anywhere, currently (vs e.g. sys.builtin_module_names), so there's quite a lot of scaffold in this test.

It also takes quite a while, at least on my laptop -- there may be ways to improve this, though.

A

@picnixz
Copy link
Copy Markdown
Member

picnixz commented May 4, 2025

If you're worried about the time it takes, you can mark the test with the cpu resource?

@brettcannon brettcannon removed their request for review May 6, 2025 18:21
@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review skip news stale Stale PR or inactive for long period of time. tests Tests in the Lib/test dir topic-subinterpreters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants