STINNER Victor added the comment:

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.

----------
keywords: +patch
versions: +Python 3.3
Added file: http://bugs.python.org/file34131/communicate_epipe.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19612>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to