mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
#16937: merge with 3.3.
This commit is contained in:
commit
3e1e97a99a
4 changed files with 7 additions and 4 deletions
|
@ -274,8 +274,8 @@ Miscellaneous options
|
||||||
|
|
||||||
.. cmdoption:: -u
|
.. cmdoption:: -u
|
||||||
|
|
||||||
Force the binary layer of the stdin, stdout and stderr streams (which is
|
Force the binary layer of the stdout and stderr streams (which is
|
||||||
available as their ``buffer`` attribute) to be unbuffered. The text I/O
|
available as their ``buffer`` attribute) to be unbuffered. The text I/O
|
||||||
layer will still be line-buffered if writing to the console, or
|
layer will still be line-buffered if writing to the console, or
|
||||||
block-buffered if redirected to a non-interactive file.
|
block-buffered if redirected to a non-interactive file.
|
||||||
|
|
||||||
|
|
|
@ -921,6 +921,7 @@ Tim O'Malley
|
||||||
Zooko O'Whielacronx
|
Zooko O'Whielacronx
|
||||||
Aaron Oakley
|
Aaron Oakley
|
||||||
James Oakley
|
James Oakley
|
||||||
|
Elena Oat
|
||||||
Jon Oberheide
|
Jon Oberheide
|
||||||
Pascal Oberndoerfer
|
Pascal Oberndoerfer
|
||||||
Jeffrey Ollie
|
Jeffrey Ollie
|
||||||
|
|
|
@ -172,7 +172,8 @@ that it entails. Also disable these manipulations if
|
||||||
is explicitly imported later.
|
is explicitly imported later.
|
||||||
.TP
|
.TP
|
||||||
.B \-u
|
.B \-u
|
||||||
Force the binary I/O layers of stdin, stdout and stderr to be unbuffered.
|
Force the binary I/O layers of stdout and stderr to be unbuffered.
|
||||||
|
stdin is always buffered.
|
||||||
The text I/O layer will still be line-buffered.
|
The text I/O layer will still be line-buffered.
|
||||||
.\" Note that there is internal buffering in readlines() and
|
.\" Note that there is internal buffering in readlines() and
|
||||||
.\" file-object iterators ("for line in sys.stdin") which is not
|
.\" file-object iterators ("for line in sys.stdin") which is not
|
||||||
|
|
|
@ -73,7 +73,8 @@ static char *usage_2 = "\
|
||||||
-S : don't imply 'import site' on initialization\n\
|
-S : don't imply 'import site' on initialization\n\
|
||||||
";
|
";
|
||||||
static char *usage_3 = "\
|
static char *usage_3 = "\
|
||||||
-u : unbuffered binary stdout and stderr; also PYTHONUNBUFFERED=x\n\
|
-u : unbuffered binary stdout and stderr, stdin always buffered;\n\
|
||||||
|
also PYTHONUNBUFFERED=x\n\
|
||||||
see man page for details on internal buffering relating to '-u'\n\
|
see man page for details on internal buffering relating to '-u'\n\
|
||||||
-v : verbose (trace import statements); also PYTHONVERBOSE=x\n\
|
-v : verbose (trace import statements); also PYTHONVERBOSE=x\n\
|
||||||
can be supplied multiple times to increase verbosity\n\
|
can be supplied multiple times to increase verbosity\n\
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue