Author vstinner
Recipients eryksun, miss-islington, vstinner
Date 2020-04-01.17:16:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585761414.11.0.228283987477.issue40094@roundup.psfhosted.org>
In-reply-to
Content
TODO:

* Modify asyncio.unix_events._compute_returncode() to use waitstatus_to_exitcode(): need to update tests.
* Modify run_cgi() of http.server to log the exit code rather the exit status: use waitstatus_to_exitcode().
* Modify Tools/scripts/which.py to log the exit code using waitstatus_to_exitcode(): result of os.system('ls ' + longlist + ' ' + filename).
* Modify mailcap.test() to use waitstatus_to_exitcode(): os.system(command).
* Fix CI to get PR 19277 and PR 19278 merged.
* Decide if subprocess should reject WIFSTOPPED() or not.
* Check if the pure Python implementation of os._spawnvef() handles WIFSTOPPED() properly.
* Maybe implement timeout on Windows for test.support.wait_process().


Eryk Sun:
> FWIW, I wouldn't recommend relying on os.waitpid to get the correct process exit status in Windows. Status codes are 32 bits and generally all bits are required.

I created bpo-40138 "Windows implementation of os.waitpid() truncates the exit status (status << 8)".
History
Date User Action Args
2020-04-01 17:16:54vstinnersetrecipients: + vstinner, eryksun, miss-islington
2020-04-01 17:16:54vstinnersetmessageid: <1585761414.11.0.228283987477.issue40094@roundup.psfhosted.org>
2020-04-01 17:16:54vstinnerlinkissue40094 messages
2020-04-01 17:16:53vstinnercreate