Gregory P. Smith <g...@krypto.org> added the comment:

ross's patch looks good to me.

Isn't the behavior just plain broken in 3.1 and 3.2?  The docs say that the 
default bufsize=0 is unbuffered in Popen but the implementation has that nasty 
XXX to make it line buffered instead of unbuffered in it.

This appears to have hid the problems with the textiowrapper being used in 
os.popen.

I think fixing it in 3.1 and 3.2 is the right thing to do.

It is desirable for os.popen()'s default buffering to match that of open() 
itself which is that they're buffered a buffer size of io.DEFAULT_BUFFER_SIZE.

----------

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

Reply via email to