summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-01-15 16:38:55 (GMT)
committerGitHub <noreply@github.com>2020-01-15 16:38:55 (GMT)
commite85a305503bf83c5a8ffb3a988dfe7b67461cbee (patch)
tree6bf49817955b9bba97c35a65bcaaa8c0e05ddb96 /Python/compile.c
parented154c387efc5f978ec97900ec9e0ec6631d5498 (diff)
downloadcpython-e85a305503bf83c5a8ffb3a988dfe7b67461cbee.zip
cpython-e85a305503bf83c5a8ffb3a988dfe7b67461cbee.tar.gz
cpython-e85a305503bf83c5a8ffb3a988dfe7b67461cbee.tar.bz2
bpo-38630: Fix subprocess.Popen.send_signal() race condition (GH-16984)
On Unix, subprocess.Popen.send_signal() now polls the process status. Polling reduces the risk of sending a signal to the wrong process if the process completed, the Popen.returncode attribute is still None, and the pid has been reassigned (recycled) to a new different process.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions