commit | e76ee1a72b9e3f5da287663ea3daec4bb3f67612 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Fri Dec 06 16:32:41 2019 +0100 |
committer | GitHub <noreply@github.com> | Fri Dec 06 16:32:41 2019 +0100 |
tree | f49a44ca51473f69ec847ba87178a7060b50ed6d | |
parent | b64334cb93d0ddbb551c8cd712942bab2fc72772 [diff] |
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.