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.

Author vstinner
Recipients gregory.p.smith, vstinner
Date 2017-08-10.10:37:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I chose to only add W_STOPCODE() to _testcapi rather than the os module, because I don't want to have to document this function. I don't think that anyone needs such function, usually we only need to consume process statuses, not to produce them. The only use case is to write an unit test.

This issue is part of bpo-31160 which ensures that unit tests don't leak child processes. This issue is part of my large project of reducing the fail rate on CIs (Travis CI, AppVeyor, buildbots):

I will now merge my PR 3055 to be able to unblock my work on CIs. But I will wait for feedback from Gregory before backporting this fix to 2.7 and 3.6.
Date User Action Args
2017-08-10 10:37:01vstinnersetrecipients: + vstinner, gregory.p.smith
2017-08-10 10:37:01vstinnersetmessageid: <>
2017-08-10 10:37:01vstinnerlinkissue31173 messages
2017-08-10 10:37:00vstinnercreate