]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-101267: ProcessPoolExecutor no longer shares 1 BrokenProcessPool exception...
authorGregory P. Smith <68491+gpshead@users.noreply.github.com>
Sat, 13 Jun 2026 09:13:13 +0000 (02:13 -0700)
committerGitHub <noreply@github.com>
Sat, 13 Jun 2026 09:13:13 +0000 (09:13 +0000)
commit27ff2c8c53e29e5075cba7d393f593a3a682a2f3
treeb68c3793756ebe543fcdc77f38a783dc12a2e8a3
parent7186413f89e03ba29a1483b66bb71de2dc28fab1
[3.14] gh-101267: ProcessPoolExecutor no longer shares 1 BrokenProcessPool exception among all failed futures (GH-101268) (#151431)

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

Co-authored-by: Daniel Shields <daniel.shields@twosigma.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
(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.

---------

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]