Vitaly added the comment:

> What's wrong with working around this bug by reading a smaller amount? How 
> much data is there supposed to be?

This makes sense for working around the issue.  Even in the blocking-read case, 
such as in subprocess.Popen, attempting to read a 1MB chunk of data in a single 
os.read call is unhelpful anyway - see http://bugs.python.org/issue15918.  
Also, the 1MB read forces os.read() to unnecessarily allocate a huge !MB buffer 
(even if only for a short lifetime)

----------

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

Reply via email to