➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 vstinner
收信人 eryksun, miss-islington, vstinner
日期 2020-04-01.17:16:53
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1585761414.11.0.228283987477.issue40094@roundup.psfhosted.org>
In-reply-to
内容
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)".
历史
日期 用户 动作 参数
2020-04-01 17:16:54vstinner修改recipients: + vstinner, eryksun, miss-islington
2020-04-01 17:16:54vstinner修改messageid: <1585761414.11.0.228283987477.issue40094@roundup.psfhosted.org>
2020-04-01 17:16:54vstinner链接issue40094 messages
2020-04-01 17:16:53vstinner创建