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 BreamoreBoy, gregory.p.smith, siona
Date 2014-07-18.21:28:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405718918.78.0.252519574946.issue17131@psf.upfronthosting.co.za>
In-reply-to
Content
issue14252 appears to have been a fix for the windows side only.

On Posix the best that could be done here is to catch OSError within Popen.terminate() and Popen.kill() and ignore the problem if there was an error.

We do not have a way to know if the child process exists any longer or even to know if the process with the PID this call is sending the signal to is this Popen instances' child process or if the PID has already been recycled by the OS and used by another unfortunate process.

the bigger question is... should we.  this seems like an API change rather than a bugfix so I'm more inclined to do this in 2.5 only in case someone was relying on the exception to tell them that the process had already died.
History
Date User Action Args
2014-07-18 21:28:38gregory.p.smithsetrecipients: + gregory.p.smith, siona, BreamoreBoy
2014-07-18 21:28:38gregory.p.smithsetmessageid: <1405718918.78.0.252519574946.issue17131@psf.upfronthosting.co.za>
2014-07-18 21:28:38gregory.p.smithlinkissue17131 messages
2014-07-18 21:28:38gregory.p.smithcreate