Skip to content

Add the interpreters Module, Implementing PEP 734 #134939

Open
@ericsnowcurrently

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

Metadata

Metadata

Labels

3.14bugs and security fixes3.15new features, bugs and security fixesstdlibPython modules in the Lib dirtopic-subinterpreterstype-featureA feature request or enhancement

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions