[issue19612] test_subprocess: sporadic failure of test_communicate_epipe() on Windows 8

STINNER Victor report at bugs.python.org
Tue Feb 18 10:40:41 CET 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue19612>
_______________________________________


More information about the Python-bugs-list mailing list