cpython/Lib/test/test_concurrent_futures
Miss Islington (bot) c606d1518c
[3.13] gh-101267: ProcessPoolExecutor no longer shares 1 BrokenProcessPool exception among all failed futures (GH-101268) (GH-151431) (#151435)
[3.14] gh-101267: ProcessPoolExecutor no longer shares 1 BrokenProcessPool exception among all failed futures (GH-101268) (GH-151431)

* gh-101267: ProcessPoolExecutor no longer shares 1 BrokenProcessPool exception among all failed futures (GH-101268)
(cherry picked from commit 3c00ebc2bb)




(cherry picked from commit 4e8c9c6a57)

* Drop the abrupt-exit-code reporting from the 3.14 backport

Reporting the exit codes of processes that died without a known cause
is a new feature, not part of the gh-101267 bugfix. Keep only the
bugfix on 3.14: each failed future gets its own BrokenProcessPool
exception instead of one shared instance.

---------
(cherry picked from commit 27ff2c8c53)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Co-authored-by: Daniel Shields <daniel.shields@twosigma.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
2026-06-13 02:37:19 -07:00
..
__init__.py gh-71052: fix test_concurrent_futures wasi regression. (#115923) 2024-02-26 00:02:56 +00:00
executor.py [3.13] gh-132063: ensure that ProcessPoolExecutor does not swallow falsey exceptions (GH-132129) (#132275) 2025-04-08 15:36:52 +00: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 [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_future.py
test_init.py [3.13] gh-117657: Skip test when running under TSan (GH-121549) (GH-121553) 2024-07-09 21:37:30 +00:00
test_process_pool.py [3.13] gh-101267: ProcessPoolExecutor no longer shares 1 BrokenProcessPool exception among all failed futures (GH-101268) (GH-151431) (#151435) 2026-06-13 02:37:19 -07:00
test_shutdown.py [3.13] gh-132969: Fix error/hang when shutdown(wait=False) and task exited abnormally (GH-133222) (GH-135343) 2025-06-16 14:08:03 +02:00
test_thread_pool.py [3.13] gh-88110: Clear concurrent.futures.thread._threads_queues after fork to avoid joining parent process' threads (GH-126098) (GH-127163) 2024-11-22 17:08:18 +00:00
test_wait.py [3.13] gh-128364: Fix flaky test_concurrent_futures.test_wait tests (gh-130742) (#130922) 2025-03-06 13:49:03 -05:00
util.py [3.13] gh-128364: Fix flaky test_concurrent_futures.test_wait tests (gh-130742) (#130922) 2025-03-06 13:49:03 -05:00