➜

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
收信人 vstinner
日期 2017-08-10.10:08:24
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1502359704.34.0.940745964628.issue31173@psf.upfronthosting.co.za>
In-reply-to
内容
https://github.com/python/cpython/pull/3055 removes the functional test and replaces it with an unit test which mocks os.waitpid() using a new _testcapi.W_STOPCODE() function to test the WIFSTOPPED() path.

The functional test created a core dump, but it's now fixed using SuppressCrashReport. It leaks a zombie process in a special state, the process is traced and cannot be killed. I tried to wait for the process a second time, but it's not enough to "close" it. I guess that we would have to write a little debugger to attach the process in the parent process. IMHO it's overcomplicated just to check that subprocess calls WIFSTOPPED().
历史
日期 用户 动作 参数
2017-08-10 10:08:24vstinner修改recipients: + vstinner
2017-08-10 10:08:24vstinner修改messageid: <1502359704.34.0.940745964628.issue31173@psf.upfronthosting.co.za>
2017-08-10 10:08:24vstinner链接issue31173 messages
2017-08-10 10:08:24vstinner创建