python / python/cpython

Add the interpreters Module, Implementing PEP 734

Aberta
#134,939 1 comentário 6 reações 1 responsável Ver no GitHub

@ericsnowcurrently já está trabalhando nisso.

Desde 30/5/2025.

3.14 3.15 stdlib topic-subinterpreters type-feature
Linguagem predominante
Python
Estrelas
77.2k
Forks
36k
Métricas de merge de PRs
Métricas de PR pendentes

Descrição

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 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
  • gh-133958
  • gh-135414
  • gh-135902
  • gh-136141
  • gh-136143
  • gh-136564
  • gh-136605

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.