File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,7 +138,11 @@ indentation in a way that makes it depend on the worth of a tab
138138expressed in spaces. Issue an error when the option is given twice.
139139.TP
140140.B \- u
141- Force stdin, stdout and stderr to be totally unbuffered.
141+ Force stdin, stdout and stderr to be totally unbuffered. Note that
142+ there is internal buffering in xreadlines(), readlines() and file-object
143+ iterators ("for line in sys.stdin") which is not influenced by this
144+ option. To work around this, you will want to use "sys.stdin.readline()"
145+ inside a "while 1:" loop.
142146.TP
143147.B \- v
144148Print a message each time a module is initialized, showing the place
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ static char *usage_2 = "\
6262-S : don't imply 'import site' on initialization\n\
6363-t : issue warnings about inconsistent tab usage (-tt: issue errors)\n\
6464-u : unbuffered binary stdout and stderr (also PYTHONUNBUFFERED=x)\n\
65+ see man page for details on internal buffering relating to " - u"\n\
6566" ;
6667static char * usage_3 = "\
6768-v : verbose (trace import statements) (also PYTHONVERBOSE=x)\n\
You can’t perform that action at this time.
0 commit comments