Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 37b70bb

Browse files
committed
Closes #19622: clarify message about bufsize changes in 3.2.4 and 3.3.1.
1 parent db5e74f commit 37b70bb

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/library/subprocess.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -441,13 +441,13 @@ functions.
441441
approximately that size. A negative bufsize (the default) means
442442
the system default of io.DEFAULT_BUFFER_SIZE will be used.
443443

444-
.. versionchanged:: 3.2.4, 3.3.1
444+
.. versionchanged:: 3.3.1
445445

446446
*bufsize* now defaults to -1 to enable buffering by default to match the
447-
behavior that most code expects. In 3.2.0 through 3.2.3 and 3.3.0 it
448-
incorrectly defaulted to :const:`0` which was unbuffered and allowed
449-
short reads. This was unintentional and did not match the behavior of
450-
Python 2 as most code expected.
447+
behavior that most code expects. In versions prior to Python 3.2.4 and
448+
3.3.1 it incorrectly defaulted to :const:`0` which was unbuffered
449+
and allowed short reads. This was unintentional and did not match the
450+
behavior of Python 2 as most code expected.
451451

452452
The *executable* argument specifies a replacement program to execute. It
453453
is very seldom needed. When ``shell=False``, *executable* replaces the

0 commit comments

Comments
 (0)