]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94777: Fix deadlock in ProcessPoolExecutor (#94784)
authorLouis Paulot <55740424+lpaulot@users.noreply.github.com>
Mon, 10 Jul 2023 21:45:27 +0000 (23:45 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 21:45:27 +0000 (21:45 +0000)
commit6782fc050281205734700a1c3e13b123961ed15b
treec1e4b8d2154fddecfe095736202a04f96995c9aa
parent9d582250d8fde240b8e7299b74ba888c574f74a3
gh-94777: Fix deadlock in ProcessPoolExecutor (#94784)

Fixes a hang in multiprocessing process pool executor when a child process crashes and code could otherwise block on writing to the pipe.  See GH-94777 for more details.
Lib/concurrent/futures/process.py
Lib/test/test_concurrent_futures.py
Misc/NEWS.d/next/Library/2022-07-12-18-45-13.gh-issue-94777.mOybx7.rst [new file with mode: 0644]