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 Mike Pomraning
Recipients Mike Pomraning, SilentGhost, vstinner
Date 2015-12-29.04:37:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451363837.67.0.669861655205.issue25942@psf.upfronthosting.co.za>
In-reply-to
Content
If I understand correctly, the _try_wait mechanics (or 3.5's syscall behavior) already handle EINTR the way we way:  ignore it and try wait()ing again.

So, this patch would kill only on a timeout, and never on another error like Ctrl-C, a UserDefinedTimeoutException from a signal handler, etc.

That's probably the lesser of two evils, the other being a SIGKILL against an arbitrary child process.  Better to document that a non-timeout-parameter interruption to subprocess.call will separate the parent from its child, than to hard kill arbitrary programs when a polite SIGINT was intended.
History
Date User Action Args
2015-12-29 04:37:17Mike Pomraningsetrecipients: + Mike Pomraning, vstinner, SilentGhost
2015-12-29 04:37:17Mike Pomraningsetmessageid: <1451363837.67.0.669861655205.issue25942@psf.upfronthosting.co.za>
2015-12-29 04:37:17Mike Pomraninglinkissue25942 messages
2015-12-29 04:37:16Mike Pomraningcreate