diff options
author | Victor Stinner <vstinner@python.org> | 2020-04-22 14:30:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 14:30:35 (GMT) |
commit | 9bee32b34e4fb3e67a88bf14d38153851d4c4598 (patch) | |
tree | c169f63fa285210ff9a384974c91bf23ec1bd41e /Misc | |
parent | bcc136ba892e62078a67ad0ca0b34072ec9c88aa (diff) | |
download | cpython-9bee32b34e4fb3e67a88bf14d38153851d4c4598.zip cpython-9bee32b34e4fb3e67a88bf14d38153851d4c4598.tar.gz cpython-9bee32b34e4fb3e67a88bf14d38153851d4c4598.tar.bz2 |
bpo-40138: Fix Windows os.waitpid() for large exit code (GH-19637)
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.
os.waitstatus_to_exitcode() now accepts wait status larger than
INT_MAX.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-04-22-00-05-10.bpo-40138.i_oGqa.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-04-22-00-05-10.bpo-40138.i_oGqa.rst b/Misc/NEWS.d/next/Library/2020-04-22-00-05-10.bpo-40138.i_oGqa.rst new file mode 100644 index 0000000..ad5faf3 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-04-22-00-05-10.bpo-40138.i_oGqa.rst @@ -0,0 +1,2 @@ +Fix the Windows implementation of :func:`os.waitpid` for exit code larger than +``INT_MAX >> 8``. The exit status is now interpreted as an unsigned number. |