File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -269,8 +269,8 @@ Miscellaneous options
269269
270270.. cmdoption :: -u
271271
272- Force the binary layer of the stdin, stdout and stderr streams (which is
273- available as their ``buffer `` attribute) to be unbuffered. The text I/O
272+ Force the binary layer of the stdout and stderr streams (which is
273+ available as their ``buffer `` attribute) to be unbuffered. The text I/O
274274 layer will still be line-buffered if writing to the console, or
275275 block-buffered if redirected to a non-interactive file.
276276
Original file line number Diff line number Diff line change @@ -896,6 +896,7 @@ Tim O'Malley
896896Zooko O'Whielacronx
897897Aaron Oakley
898898James Oakley
899+ Elena Oat
899900Jon Oberheide
900901Pascal Oberndoerfer
901902Jeffrey Ollie
Original file line number Diff line number Diff line change @@ -172,7 +172,8 @@ that it entails. Also disable these manipulations if
172172is explicitly imported later.
173173.TP
174174.B \- u
175- Force the binary I/O layers of stdin, stdout and stderr to be unbuffered.
175+ Force the binary I/O layers of stdout and stderr to be unbuffered.
176+ stdin is always buffered.
176177The text I/O layer will still be line-buffered.
177178.\" Note that there is internal buffering in readlines() and
178179.\" file-object iterators ("for line in sys.stdin") which is not
Original file line number Diff line number Diff line change @@ -77,7 +77,8 @@ static char *usage_2 = "\
7777-S : don't imply 'import site' on initialization\n\
7878" ;
7979static char * usage_3 = "\
80- -u : unbuffered binary stdout and stderr; also PYTHONUNBUFFERED=x\n\
80+ -u : unbuffered binary stdout and stderr, stdin always buffered;\n\
81+ also PYTHONUNBUFFERED=x\n\
8182 see man page for details on internal buffering relating to '-u'\n\
8283-v : verbose (trace import statements); also PYTHONVERBOSE=x\n\
8384 can be supplied multiple times to increase verbosity\n\
You can’t perform that action at this time.
0 commit comments