Skip to content

Add the interpreters Module, Implementing PEP 734 #134939

Description

@ericsnowcurrently

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

Activity

  1. added
    type-featureA feature request or enhancement
    stdlibStandard Library Python modules in the Lib/ directory
    3.14bugs and security fixes
    3.15bugs and security fixes
    on May 30, 2025
  2. added 3 commits that reference this issue on Jun 11, 2025
  3. added a commit that references this issue on Jun 19, 2025
  4. added a commit that references this issue on Jun 30, 2025
  5. added a commit that references this issue on Jun 30, 2025
  6. added a commit that references this issue on Jun 30, 2025
  7. 2 remaining items

  8. added a commit that references this issue on Jul 12, 2025
  9. added a commit that references this issue on Jul 13, 2025
  10. added a commit that references this issue on Jul 13, 2025
  11. added a commit that references this issue on Jul 13, 2025
  12. added 2 commits that reference this issue on Jul 13, 2025
  13. added 3 commits that reference this issue on Aug 4, 2025
  14. added 3 commits that reference this issue on Aug 19, 2025
  15. added a commit that references this issue on Sep 9, 2025
  16. budos8899 commented on Nov 10, 2025

    @budos8899
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

3.14bugs and security fixes3.15bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytopic-subinterpreterstype-featureA feature request or enhancement

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions