Sébastien Sablé <sa...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue9862> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com