A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-November/030915.html below:

[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.119,1.120

[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.119,1.120doerwalter@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}
  





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4