]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40138: Fix Windows os.waitpid() for large exit code (GH-19654)
authorVictor Stinner <vstinner@python.org>
Wed, 22 Apr 2020 15:57:59 +0000 (17:57 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Apr 2020 15:57:59 +0000 (17:57 +0200)
commitb07350901cac9197aef41855d8a4d56533636b91
treeb9ab42158db0cea7b537f8dc3e23d9f8ec2bedba
parent3a5545025685040842420c85a4a9aab5f044aeb8
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.
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