diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-07-25 03:04:02 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-07-25 03:04:02 (GMT) |
commit | 61b0c672b5e9ba1cf564947ecb38d175fd70ea7e (patch) | |
tree | ab808b8fae0a02137111cb1edf13fdbba7da7caa /Misc | |
parent | 72f562f719ee59b79e2fa0e2efe27591c75fde26 (diff) | |
download | cpython-61b0c672b5e9ba1cf564947ecb38d175fd70ea7e.zip cpython-61b0c672b5e9ba1cf564947ecb38d175fd70ea7e.tar.gz cpython-61b0c672b5e9ba1cf564947ecb38d175fd70ea7e.tar.bz2 |
#16937: document that stdin is always buffered, even when -u is used. Patch by Elena Oat.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/python.man | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -896,6 +896,7 @@ Tim O'Malley Zooko O'Whielacronx Aaron Oakley James Oakley +Elena Oat Jon Oberheide Pascal Oberndoerfer Jeffrey Ollie diff --git a/Misc/python.man b/Misc/python.man index 8155e6a..bcb3ec8 100644 --- a/Misc/python.man +++ b/Misc/python.man @@ -172,7 +172,8 @@ that it entails. Also disable these manipulations if is explicitly imported later. .TP .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. .\" Note that there is internal buffering in readlines() and .\" file-object iterators ("for line in sys.stdin") which is not |