[Python-checkins] python/dist/src/Doc/lib libitertools.tex,1.1,1.2

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Thu, 06 Feb 2003 21:33:00 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv2842/Doc/lib

Modified Files:
	libitertools.tex 
Log Message:
SF bug #681003: itertools issues

* Fixed typo in exception message for times()
* Filled in missing times_traverse()
* Document reasons that imap() did not adopt a None fill-in feature
* Document that count(sys.maxint) will wrap-around on overflow
* Add overflow test to islice()
* Check that starmap()'s argument returns a tuple
* Verify that imap()'s tuple re-use is safe
* Make a similar tuple re-use (with safety check) for izip()



Index: libitertools.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libitertools.tex,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** libitertools.tex	1 Feb 2003 00:10:09 -0000	1.1
--- libitertools.tex	7 Feb 2003 05:32:57 -0000	1.2
***************
*** 83,86 ****
--- 83,90 ----
               cnt += 1
    \end{verbatim}
+ 
+   Note, \function{count()} does not check for overflow and will return
+   negative numbers after exceeding \code{sys.maxint}.  This behavior
+   may change in the future.
  \end{funcdesc}