Skip to content

Add the interpreters Module, Implementing PEP 734 #134939

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
1 of 4 tasks
ericsnowcurrently opened this issue May 30, 2025 · 0 comments
Open
1 of 4 tasks

Add the interpreters Module, Implementing PEP 734 #134939

ericsnowcurrently opened this issue May 30, 2025 · 0 comments
Assignees
Labels
3.14 bugs and security fixes 3.15 new features, bugs and security fixes stdlib Python modules in the Lib dir topic-subinterpreters type-feature A feature request or enhancement

Comments

@ericsnowcurrently
Copy link
Member

ericsnowcurrently commented May 30, 2025

Feature or enhancement

Proposal:

(This is effectively the successor issue to gh-76785.)

Assuming PEP 734 is accepted (hopefully for 3.14), this issue covers the implementation.

Note that the base implementation already exists as Lib/test/support/interpreters. Thus "implementing" the PEP will amount to moving the files to Lib/interpreters and updating associated references.

TODO:

  • move files from Lib/test/support/interpreters to Lib/interpreters
  • add Docs/library/interpreters.rst, etc.
  • add a multiple-interpreters howto doc (related: Add A Howto Page About Concurrency in Python #123152)
  • update InterpreterPoolExecutor to use interpreters.Interpreter

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

@ericsnowcurrently ericsnowcurrently self-assigned this May 30, 2025
@ericsnowcurrently ericsnowcurrently added type-feature A feature request or enhancement stdlib Python modules in the Lib dir topic-subinterpreters 3.14 bugs and security fixes 3.15 new features, bugs and security fixes labels May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.14 bugs and security fixes 3.15 new features, bugs and security fixes stdlib Python modules in the Lib dir topic-subinterpreters type-feature A feature request or enhancement
Projects
Status: Todo
Development

No branches or pull requests

1 participant