Message212748
Oh, it looks like my patch is not enough: the test still fails sometimes :-/ It looks like the process was still running (poll() didn't return None) whereas stdin.write() got an OSError(errno.EINVAL).
http://buildbot.python.org/all/builders/x86%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/2408/steps/test/logs/stdio
======================================================================
ERROR: test_communicate_epipe (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\test\test_subprocess.py", line 1095, in test_communicate_epipe
p.communicate(b"x" * 2**20)
File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\subprocess.py", line 951, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\subprocess.py", line 1187, in _communicate
self.stdin.write(input)
OSError: [Errno 22] Invalid argument |
|
Date |
User |
Action |
Args |
2014-03-04 23:15:07 | vstinner | set | recipients:
+ vstinner, gvanrossum, pitrou, tim.golden, neologix, python-dev |
2014-03-04 23:15:07 | vstinner | set | messageid: <1393974907.33.0.0022617136525.issue19612@psf.upfronthosting.co.za> |
2014-03-04 23:15:07 | vstinner | link | issue19612 messages |
2014-03-04 23:15:06 | vstinner | create | |
|