bpo-30404: The -u option now makes the stdout and stderr streams totally unbuffered. (#1667)

This commit is contained in:
Serhiy Storchaka 2017-10-04 20:25:40 +03:00 committed by GitHub
parent 0b5e61ddca
commit 77732be801
4 changed files with 17 additions and 12 deletions

View file

@ -303,13 +303,13 @@ Miscellaneous options
.. cmdoption:: -u
Force the binary layer of the stdout and stderr streams (which is
available as their ``buffer`` attribute) to be unbuffered. The text I/O
layer will still be line-buffered if writing to the console, or
block-buffered if redirected to a non-interactive file.
Force the stdout and stderr streams to be unbuffered.
See also :envvar:`PYTHONUNBUFFERED`.
.. versionchanged:: 3.7
The text layer of the stdout and stderr streams now is unbuffered.
.. cmdoption:: -v