cpython/Lib/test/test_concurrent_futures
Eric Snow a5a7f5e16d
gh-124694: Add concurrent.futures.InterpreterPoolExecutor (gh-124548)
This is an implementation of InterpreterPoolExecutor that builds on ThreadPoolExecutor.

(Note that this is not tied to PEP 734, which is strictly about adding a new stdlib module.)

Possible future improvements:

* support passing a script for the initializer or to submit()
* support passing (most) arbitrary functions without pickling
* support passing closures
* optionally exec functions against __main__ instead of the their original module
2024-10-16 16:50:46 -06:00
..
__init__.py gh-71052: fix test_concurrent_futures wasi regression. (#115923) 2024-02-26 00:02:56 +00:00
executor.py gh-124694: Add concurrent.futures.InterpreterPoolExecutor (gh-124548) 2024-10-16 16:50:46 -06:00
test_as_completed.py gh-109565: Fix concurrent.futures test_future_times_out() (#109949) 2023-09-27 08:51:44 +00:00
test_deadlock.py Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_future.py
test_init.py gh-117657: Skip test when running under TSan (GH-121549) 2024-07-09 14:12:45 -07:00
test_interpreter_pool.py gh-124694: Add concurrent.futures.InterpreterPoolExecutor (gh-124548) 2024-10-16 16:50:46 -06:00
test_process_pool.py gh-117478: Add `@support.requires_gil_enabled` decorator (#117479) 2024-04-04 14:10:46 -04:00
test_shutdown.py gh-125451: Fix deadlock in ProcessPoolExecutor shutdown (#125492) 2024-10-16 11:39:17 -04:00
test_thread_pool.py gh-117478: Add `@support.requires_gil_enabled` decorator (#117479) 2024-04-04 14:10:46 -04:00
test_wait.py gh-116622: Test updates for Android (#117299) 2024-04-05 20:57:36 +00:00
util.py gh-124694: Add concurrent.futures.InterpreterPoolExecutor (gh-124548) 2024-10-16 16:50:46 -06:00