Repository navigation
Add the interpreters Module, Implementing PEP 734 #134939
Copy link
Copy link
Open
Labels
3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-subinterpreterstype-featureA feature request or enhancementA feature request or enhancement
Description
Activity
- addedtype-featureA feature request or enhancementA feature request or enhancementstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixes
on May 30, 2025 2 remaining items
- added a commit that references this issue
on Jul 13, 2025 - added 3 commits that reference this issue
on Aug 4, 2025 - marked [subinterpreters] PEP 554 implementation: add interpreters module #76785 as a duplicate of this issue
on Aug 11, 2025 - added 3 commits that reference this issue
on Aug 19, 2025
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-subinterpreterstype-featureA feature request or enhancementA feature request or enhancement
Projects
- StatusShow more project fieldsTodo
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:
InterpreterPoolExecutorto useinterpreters.InterpreterHas this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
concurrent.interpreterssource code link #136564concurrent.interpreterssource code link (GH-136564) #136605