[Python-checkins] python/dist/src/Misc NEWS,1.1372,1.1373

gvanrossum@users.sourceforge.net gvanrossum at users.sourceforge.net
Tue Sep 20 20:49:58 CEST 2005


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26848/Misc

Modified Files:
	NEWS 
Log Message:
- On 64-bit platforms, when __len__() returns a value that cannot be
  represented as a C int, raise OverflowError.

(Forward port from 2.4.2; the patch to classobject.c was already in
but needed a correction in the error message text.)


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1372
retrieving revision 1.1373
diff -u -d -r1.1372 -r1.1373
--- NEWS	20 Sep 2005 07:02:49 -0000	1.1372
+++ NEWS	20 Sep 2005 18:49:54 -0000	1.1373
@@ -12,6 +12,9 @@
 Core and builtins
 -----------------
 
+- On 64-bit platforms, when __len__() returns a value that cannot be
+  represented as a C int, raise OverflowError.
+
 - test__locale is skipped on OS X < 10.4 (only partial locale support is
 present).
 



More information about the Python-checkins mailing list