mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-30404: The -u option now makes the stdout and stderr streams totally unbuffered. (#1667)
This commit is contained in:
parent
0b5e61ddca
commit
77732be801
4 changed files with 17 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue