]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-101267: ProcessPoolExecutor no longer shares 1 BrokenProcessPool exception...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 13 Jun 2026 09:37:19 +0000 (11:37 +0200)
committerGitHub <noreply@github.com>
Sat, 13 Jun 2026 09:37:19 +0000 (02:37 -0700)
commitc606d1518c7da2c1118d2c38be50c2c83f657a98
tree6147d5316207d1d70d05b78c5692798c4fd83401
parent52ee4d8e8d8a1cbfe195654a18916f2f0ff93a70
[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 3c00ebc2bbd902495b163def850bc931420209fc)

(cherry picked from commit 4e8c9c6a5742659ca9f77719178802cce06a3507)

* 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 27ff2c8c53e29e5075cba7d393f593a3a682a2f3)

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>
Lib/concurrent/futures/process.py
Lib/test/test_concurrent_futures/test_process_pool.py
Misc/ACKS
Misc/NEWS.d/next/Library/2023-01-23-21-23-50.gh-issue-101267._f-cFH.rst [new file with mode: 0644]