[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.119,1.120
doerwalter@users.sourceforge.net
doerwalter@users.sourceforge.net
Tue, 19 Nov 2002 12:49:45 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv17074/Doc/lib
Modified Files:
libfuncs.tex
Log Message:
Change int() so that passing a string, unicode, float or long argument
that is outside the integer range no longer raises OverflowError, but
returns a long object instead.
This fixes SF bug http://www.python.org/sf/635115
Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.119
retrieving revision 1.120
diff -C2 -d -r1.119 -r1.120
*** libfuncs.tex 1 Nov 2002 21:33:44 -0000 1.119
--- libfuncs.tex 19 Nov 2002 20:49:13 -0000 1.120
***************
*** 508,511 ****
--- 508,513 ----
long integer or a floating point number. Conversion of floating
point numbers to integers truncates (towards zero).
+ If the argument is outside the integer range a long object will
+ be returned instead.
\end{funcdesc}