[docs] [issue19622] Default buffering for input and output pipes in subprocess module
report at bugs.python.org
Wed Oct 1 20:33:49 CEST 2014
Ryan added the comment:
This is not fixed. The documentation may be more correct now, but the behavior still does not match Python 2 as purported.
The default bufsize changed in 3.3.1 is incorrect, at least when tested in 3.4.0 and 3.4.1.
Here is a test for systems with cat available.
proc = subprocess.Popen('cat', stdin=subprocess.PIPE)
This test will succeed in Python 2.x and Python 3.0 - 3.3.0, but fail on 3.4.x. This is a regression as the documentation states "did not match the behavior of Python 2 as most code expected", while the current behavior definitely does not match Python 2.
versions: -Python 3.2
Python tracker <report at bugs.python.org>
More information about the docs