Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7aceb405
Commit
7aceb405
authored
Jul 25, 2013
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#16937: merge with 3.3.
parents
7d4cd2fb
bf0b83cf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
Doc/using/cmdline.rst
Doc/using/cmdline.rst
+2
-2
Misc/ACKS
Misc/ACKS
+1
-0
Misc/python.man
Misc/python.man
+2
-1
Modules/main.c
Modules/main.c
+2
-1
No files found.
Doc/using/cmdline.rst
View file @
7aceb405
...
...
@@ -274,8 +274,8 @@ Miscellaneous options
.. cmdoption:: -u
Force the binary layer of the std
in, std
out and stderr streams (which is
available as their ``buffer`` attribute) to be unbuffered.
The text I/O
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.
...
...
Misc/ACKS
View file @
7aceb405
...
...
@@ -921,6 +921,7 @@ Tim O'Malley
Zooko O'Whielacronx
Aaron Oakley
James Oakley
Elena Oat
Jon Oberheide
Pascal Oberndoerfer
Jeffrey Ollie
...
...
Misc/python.man
View file @
7aceb405
...
...
@@ -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
...
...
Modules/main.c
View file @
7aceb405
...
...
@@ -73,7 +73,8 @@ static char *usage_2 = "\
-S : don't imply 'import site' on initialization
\n
\
"
;
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
\
-v : verbose (trace import statements); also PYTHONVERBOSE=x
\n
\
can be supplied multiple times to increase verbosity
\n
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment