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 gvanrossum, neologix, pitrou, tim.golden, vstinner
Date 2014-02-18.09:40:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392716441.66.0.977323063086.issue19612@psf.upfronthosting.co.za>
In-reply-to
Content
If I add a sleep of 1 second before stdin.write(), the test always fail with OSError(22, "Invalid parameter"). So it becomes obvious that the write fails if the process already exited.

Attached patch should fix the issue. Can someone review it?

The test fails also on Python 3.3.
History
Date User Action Args
2014-02-18 09:40:41vstinnersetrecipients: + vstinner, gvanrossum, pitrou, tim.golden, neologix
2014-02-18 09:40:41vstinnersetmessageid: <1392716441.66.0.977323063086.issue19612@psf.upfronthosting.co.za>
2014-02-18 09:40:41vstinnerlinkissue19612 messages
2014-02-18 09:40:41vstinnercreate