You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[subinterpreters] Expose the subinterpreters C-API in the stdlib #74624
bpo-32604: [subinterpreters] PEP 554 implementation: add interpreters module
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/ericsnowcurrently'closed_at=<Date2020-05-15.01:18:14.078>created_at=<Date2017-05-23.05:24:25.443>labels= ['expert-subinterpreters', 'type-feature', '3.8']
title='[subinterpreters] Expose the subinterpreters C-API in the stdlib'updated_at=<Date2020-05-15.01:18:14.076>user='https://github.com/ericsnowcurrently'
For a variety of reasons, I'd like to be able to manage subinterpreters from Python code. An initial effort would add a _interpreters module to the stdlib that exposes the basic functionality of the corresponding C-API.
A naming suggestion: let's leave the interpreters & _interpreters names free for a possible future PEP to make this a public API with a fallback multiprocessing backed implementation for implementations that don't have native subinterpreter support.
Then for this "testing and experimentation only" API, we'd go with "_subinterpreters" to match the name typically used to refer to the CPython feature.
changed the title [-]Expose the subinterpreters C-API in the stdlib.[/-][+][subinterpreters] Expose the subinterpreters C-API in the stdlib[/+]on May 15, 2020
Activity
ericsnowcurrently commentedon May 23, 2017
For a variety of reasons, I'd like to be able to manage subinterpreters from Python code. An initial effort would add a _interpreters module to the stdlib that exposes the basic functionality of the corresponding C-API.
ericsnowcurrently commentedon May 25, 2017
proposed: https://mail.python.org/pipermail/python-ideas/2017-May/045765.html
ncoghlan commentedon May 26, 2017
A naming suggestion: let's leave the
interpreters&_interpretersnames free for a possible future PEP to make this a public API with a fallback multiprocessing backed implementation for implementations that don't have native subinterpreter support.Then for this "testing and experimentation only" API, we'd go with "_subinterpreters" to match the name typically used to refer to the CPython feature.
ericsnowcurrently commentedon Jan 20, 2018
FYI, I'm working on a low-level patch for use in the test suite for 3.7. See issue bpo-32604.
[-]Expose the subinterpreters C-API in the stdlib.[/-][+][subinterpreters] Expose the subinterpreters C-API in the stdlib[/+]vstinner commentedon May 15, 2020
I mark this issue as a duplicate of bpo-32604.