[Python-checkins] python/dist/src/Doc/lib liburllib.tex, 1.50.8.1, 1.50.8.2

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Wed Mar 31 23:11:07 EST 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13286

Modified Files:
      Tag: release23-maint
	liburllib.tex 
Log Message:
Note that reading from a socket may not always return all of the
remaining content of a stream when expected to do so.
Closes SF bug #725265.  Backported from trunk revision 1.52.


Index: liburllib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liburllib.tex,v
retrieving revision 1.50.8.1
retrieving revision 1.50.8.2
diff -C2 -d -r1.50.8.1 -r1.50.8.2
*** liburllib.tex	27 Aug 2003 15:10:54 -0000	1.50.8.1
--- liburllib.tex	1 Apr 2004 04:11:05 -0000	1.50.8.2
***************
*** 30,33 ****
--- 30,37 ----
  \method{close()}, \method{info()} and \method{geturl()}.  It also has
  proper support for the iterator protocol.
+ One caveat: the \method{read()} method, if the size argument is
+ omitted or negative, may not read until the end of the data stream;
+ there is no good way to determine that the entire stream from a socket
+ has been read in the general case.
  
  Except for the \method{info()} and \method{geturl()} methods,




More information about the Python-checkins mailing list