summaryrefslogtreecommitdiff
path: root/Lib/asyncio/tasks.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-12-06 16:32:41 +0100
committerGitHub <noreply@github.com>2019-12-06 16:32:41 +0100
commite76ee1a72b9e3f5da287663ea3daec4bb3f67612 (patch)
treef49a44ca51473f69ec847ba87178a7060b50ed6d /Lib/asyncio/tasks.py
parentb64334cb93d0ddbb551c8cd712942bab2fc72772 (diff)
downloadcpython-git-e76ee1a72b9e3f5da287663ea3daec4bb3f67612.tar.gz
bpo-38982: Fix asyncio PidfdChildWatcher on waitpid() error (GH-17477)
If waitpid() is called elsewhere, waitpid() call fails with ChildProcessError: use return code 255 in this case, and log a warning. It ensure that the pidfd file descriptor is closed if this error occurs.
Diffstat (limited to 'Lib/asyncio/tasks.py')
0 files changed, 0 insertions, 0 deletions