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.
Martin Panter added the comment:
I agree that it is misleading to say it matches Python 2 behaviour, as I said
in my original post. Do you think I should reopen this and get that bit removed
from the documentation?
I don’t see an easy way to make the behaviour consistent in all cases. My
Martin Panter added the comment:
The updated text to “suprocess.rst” is better, but now it looks like the whole
paragraph fails to render at
http://docs.python.org/dev/library/subprocess#subprocess.Popen. I have no idea
about the syntax but maybe the blank line separating “versionchanged”
Georg Brandl added the comment:
Thanks, should be fixed now.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19622
___
___
Roundup Robot added the comment:
New changeset 0f0dc0276a7c by Georg Brandl in branch '3.3':
Closes #19622: clarify message about bufsize changes in 3.2.4 and 3.3.1.
http://hg.python.org/cpython/rev/0f0dc0276a7c
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
New submission from Martin Panter:
Currently the documentation for the “bufsize” parameter in the “subprocess”
module says:
Changed in version 3.2.4,: 3.3.1
bufsize now defaults to -1 to enable buffering by default to match the behavior
that most code expects. In 3.2.0 through 3.2.3 and