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 Andre Merzky, gregory.p.smith, r.david.murray
Date 2015-09-08.23:46:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441755995.3.0.990736894508.issue24862@psf.upfronthosting.co.za>
In-reply-to
Content
My gut feeling is to say "don't do that" when it comes to passing subprocess instances between processes (ie: pickling and unpickling them) and expecting them to work as if nothing had changed...  You already acknowledge that this is a strange thing for an application to do and that you have a workaround in your application.

BUT: It does looks like we are doing something a bit weird here with the waitpid errno.ECHILD exception.  However letting this bubble up to the application may, at this point, cause new bugs in code that isn't expecting it so I'm not sure we should change that in any circumstances. :/

FWIW there is also a comment at the end of the related issue1731717 (for Popen.wait() rather than .poll()) with a suggestion to ponder (though not directly related to this issue, if it is still relevant).
History
Date User Action Args
2015-09-08 23:46:35gregory.p.smithsetrecipients: + gregory.p.smith, r.david.murray, Andre Merzky
2015-09-08 23:46:35gregory.p.smithsetmessageid: <1441755995.3.0.990736894508.issue24862@psf.upfronthosting.co.za>
2015-09-08 23:46:35gregory.p.smithlinkissue24862 messages
2015-09-08 23:46:34gregory.p.smithcreate