[issue9929] subprocess.Popen unbuffered not work
Antoine Pitrou
report at bugs.python.org
Fri Sep 24 14:47:48 CEST 2010
Antoine Pitrou <pitrou at 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 <report at bugs.python.org>
<http://bugs.python.org/issue9929>
_______________________________________
More information about the Python-bugs-list
mailing list