Use this module to try out multiple interpreters and a per-interpreter GIL in Python 3.13+. Do not use this for anything important yet.
Project description
This is the public implementation of PEP 734.
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
File details
Details for the file interpreters_pep_734-0.4.0.tar.gz
.
File metadata
- Download URL: interpreters_pep_734-0.4.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | faa6a53c8f28a12aca3f1dbad2882bc656137db3102cf2a3d1d30f4628944ef1 |
|
MD5 | 25f791bdd13c5e8541918aa03b6b3be7 |
|
BLAKE2b-256 | 604ef01f8765516b24ce6e100cb59cbcecf2302b44e3a36bdb7d4b38c1a84eb4 |