Use this module to try out multiple interpreters and a per-interpreter GIL in Python 3.12+. Do not use this for anything important yet.
Project description
This is the public pure-Python implementation of PEP 734, along with several other backports.
For the implementation of the low-level modules, only on Python 3.12, see https://pypi.org/project/interpreters-3-12/.
Nearly all development for this project is done in the upstream CPython repo.
This PyPI package installs two modules: interpreters_backports
and
interpreters_experimental
. The "backports" module is a package
that mirrors the backported structure of the 3.14 modules. The
"experimental" module is a package containing modules that may
end up in the stdlib.
Note that only the interpreters
and interpreters.queues
modules
are part of PEP 734.
You can use the modules as fallbacks:
try:
import interpreters
except ModuleNotFoundError:
from interpreters_backports import interpreters
try:
import interpreters.queues
except ModuleNotFoundError:
import interpreters_backports.interpreters.queues
from interpreters_backports import interpreters
try:
from interpreters import channels
except ModuleNotFoundError:
from interpreters_experimental.interpreters import channels
try:
from concurrent.futures import ThreadPoolExecutor
except ModuleNotFoundError:
from interpreters_backports.concurrent.futures import ThreadPoolExecutor
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file interpreters_pep_734-0.5.0.tar.gz
.
File metadata
- Download URL: interpreters_pep_734-0.5.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f308f945c6ded5bd4bb334117c50405dacb84f862cb572bdd5d96b3de3f07f6 |
|
MD5 | cf78f15c3340113c8bb79a02e8b4722c |
|
BLAKE2b-256 | bea9ae2a1958523551c3cfbd548b5d3c105af941775895c09a12c2b3636bbd9e |
File details
Details for the file interpreters_pep_734-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: interpreters_pep_734-0.5.0-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b07c6fc233004317ff41aa1645ea7d2e1725896e4aa541da64236a170787e2b0 |
|
MD5 | 56c1cfbcfea69fc949e3f5b0af5c94fd |
|
BLAKE2b-256 | e94301e1a318fc830ba40ae8bb36228fc1597c363865629f738a99a5626c9193 |