[3.8] bpo-40138: Fix Windows os.waitpid() for large exit code by vstinner · Pull Request #19654 · python/cpython

@vstinner

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.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Apr 22, 2020
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 b073509)

Co-authored-by: Victor Stinner <vstinner@python.org>

miss-islington added a commit that referenced this pull request

Apr 22, 2020
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 b073509)

Co-authored-by: Victor Stinner <vstinner@python.org>