Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AA-Turner
Copy link
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants