[Python-checkins] python/dist/src/Misc python.man,1.25,1.26

sjoerd@users.sourceforge.net sjoerd@users.sourceforge.net
Fri, 09 Aug 2002 06:37:35 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv24479

Modified Files:
	python.man 
Log Message:
Document that -u puts stdin, stdout, and stderr in binary mode.


Index: python.man
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/python.man,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** python.man	28 Jul 2002 10:34:08 -0000	1.25
--- python.man	9 Aug 2002 13:37:31 -0000	1.26
***************
*** 139,147 ****
  .TP
  .B \-u
! Force stdin, stdout and stderr to be totally unbuffered.  Note that
! there is internal buffering in xreadlines(), readlines() and file-object
! iterators ("for line in sys.stdin") which is not influenced by this
! option.  To work around this, you will want to use "sys.stdin.readline()"
! inside a "while 1:" loop.
  .TP
  .B \-v
--- 139,148 ----
  .TP
  .B \-u
! Force stdin, stdout and stderr to be totally unbuffered.  On systems
! where it matters, also put stdin, stdout and stderr in binary mode.
! Note that there is internal buffering in xreadlines(), readlines() and
! file-object iterators ("for line in sys.stdin") which is not
! influenced by this option.  To work around this, you will want to use
! "sys.stdin.readline()" inside a "while 1:" loop.
  .TP
  .B \-v