[issue9862] test_subprocess hangs on AIX
Sébastien Sablé
report at bugs.python.org
Mon Sep 20 18:21:29 CEST 2010
Sébastien Sablé <sable at users.sourceforge.net> added the comment:
PIPE_BUF in unistd.h is defined to 32768.
The test works with PIPE_BUF changed up to 6144 but won't work with 7168.
We could probably use 4096 as a safe value for faster result if needed.
I just do not define the value and leave the default of 512 be used.
Here is my patch which has been verified to work OK and should be applied to py3k and py27.
----------
keywords: +patch
Added file: http://bugs.python.org/file18937/patch_broken_pipe_buf.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9862>
_______________________________________
More information about the Python-bugs-list
mailing list