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 gregory.p.smith
Recipients chris.jerdonek, gregory.p.smith
Date 2015-12-27.19:16:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451243764.34.0.463183035169.issue25960@psf.upfronthosting.co.za>
In-reply-to
Content
fundamentally: this shouldn't work anyways.

You are calling wait() from a signal handler.
That is a blocking operation.
You cannot do that from a signal handler.

os.waitpid(p.pid, 1) is os.waitpid(p.pid, os.WNOHANG) which is a non-blocking operation so it works.
History
Date User Action Args
2015-12-27 19:16:04gregory.p.smithsetrecipients: + gregory.p.smith, chris.jerdonek
2015-12-27 19:16:04gregory.p.smithsetmessageid: <1451243764.34.0.463183035169.issue25960@psf.upfronthosting.co.za>
2015-12-27 19:16:04gregory.p.smithlinkissue25960 messages
2015-12-27 19:16:04gregory.p.smithcreate