]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-134939: Add the concurrent.interpreters Module (gh-135414)
authorEric Snow <ericsnowcurrently@gmail.com>
Thu, 12 Jun 2025 14:19:26 +0000 (08:19 -0600)
committerGitHub <noreply@github.com>
Thu, 12 Jun 2025 14:19:26 +0000 (08:19 -0600)
commit04273adae0dcde7ae87ba06586b77290794f7f61
treef1b715f2a22a0f2409e7d6576264012496417378
parent8cb7d9a8102163387907425dc14b5d629b930e76
[3.14] gh-134939: Add the concurrent.interpreters Module (gh-135414)

PEP-734 has been accepted (for 3.14).

(FTR, I'm opposed to putting this under the concurrent package, but
doing so is the SC condition under which the module can land in 3.14.)

(cherry picked from commit 62143736b, AKA gh-133958)
28 files changed:
.github/CODEOWNERS
Doc/library/concurrency.rst
Doc/library/concurrent.interpreters.rst [new file with mode: 0644]
Doc/library/concurrent.rst
Doc/library/python.rst
Doc/whatsnew/3.14.rst
Lib/concurrent/futures/interpreter.py
Lib/concurrent/interpreters/__init__.py [moved from Lib/test/support/interpreters/__init__.py with 95% similarity]
Lib/concurrent/interpreters/_crossinterp.py [moved from Lib/test/support/interpreters/_crossinterp.py with 98% similarity]
Lib/concurrent/interpreters/_queues.py [moved from Lib/test/support/interpreters/queues.py with 100% similarity]
Lib/test/support/channels.py [moved from Lib/test/support/interpreters/channels.py with 98% similarity]
Lib/test/test__interpchannels.py
Lib/test/test_concurrent_futures/test_interpreter_pool.py
Lib/test/test_interpreters/test_api.py
Lib/test/test_interpreters/test_channels.py
Lib/test/test_interpreters/test_lifecycle.py
Lib/test/test_interpreters/test_queues.py
Lib/test/test_interpreters/test_stress.py
Lib/test/test_interpreters/utils.py
Lib/test/test_sys.py
Lib/test/test_threading.py
Lib/test/test_types.py
Makefile.pre.in
Misc/NEWS.d/next/Library/2025-05-30-09-46-21.gh-issue-134939.Pu3nnm.rst [new file with mode: 0644]
Modules/_interpchannelsmodule.c
Modules/_interpqueuesmodule.c
Modules/_testinternalcapi.c
Python/crossinterp_exceptions.h