Add the interpreters Module, Implementing PEP 734
Offen
@ericsnowcurrently arbeitet bereits daran.
Seit 30.5.2025.
3.14
3.15
stdlib
topic-subinterpreters
type-feature
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 35.9k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
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: gh-123152)
- update
InterpreterPoolExecutorto useinterpreters.Interpreter
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
- gh-133958
- gh-135414
- gh-135902
- gh-136141
- gh-136143
- gh-136564
- gh-136605
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.