Antoine Pitrou <pit...@free.fr> added the comment:

You are right that it doesn't work anymore (under Linux too).

Your patch is almost ok. It should raise a ValueError if bufsize=0 and 
universal_newlines is true (the two can't be satisfied together, since 
universal newlines implies buffering).

It would also be better to add a test in test_subprocess.

As a sidenote, bufsize=1 (line buffering) doesn't work anymore either, and this 
can't be fixed without breaking compatibility.

----------
components: +Library (Lib) -Windows
nosy: +gregory.p.smith, pitrou
title: subprocess.Popen unbuffered not work (windows) -> subprocess.Popen 
unbuffered not work
type:  -> behavior

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

Reply via email to