]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40138: Fix Windows os.waitpid() for large exit code (GH-19654)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 22 Apr 2020 16:16:42 +0000 (09:16 -0700)
committerGitHub <noreply@github.com>
Wed, 22 Apr 2020 16:16:42 +0000 (09:16 -0700)
commitde5dcfa3bcabf52e43468a2b088ed71b5e5c4503
tree01351404df0af477ec6c4228e6585f0e6338e575
parentabdfb3b47156a6ca5696b6f4380d412a460b718a
bpo-40138: Fix Windows os.waitpid() for large exit code (GH-19654)

Fix the Windows implementation of os.waitpid() for exit code
larger than "INT_MAX >> 8". The exit status is now interpreted as an
unsigned number.
(cherry picked from commit b07350901cac9197aef41855d8a4d56533636b91)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_os.py
Misc/NEWS.d/next/Library/2020-04-22-00-05-10.bpo-40138.i_oGqa.rst [new file with mode: 0644]
Modules/posixmodule.c