[3.9] bpo-40550: Fix time-of-check/time-of-action issue in subprocess.Popen.send_signal. (GH-20010) by miss-islington · Pull Request #23439 · python/cpython
send_signal() now swallows the exception if the process it thought was still alive winds up not to exist anymore (always a plausible race condition despite the checks).
Co-authored-by: Gregory P. Smith greg@krypto.org
(cherry picked from commit 01a202a)
Co-authored-by: Filipe Laíns lains@archlinux.org
https://bugs.python.org/issue40550
Automerge-Triggered-By: GH:gpshead