[Python-checkins] python/dist/src/Misc NEWS,1.1376,1.1377

rhettinger@users.sourceforge.net rhettinger at users.sourceforge.net
Sat Sep 24 23:23:08 CEST 2005


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

Modified Files:
	NEWS 
Log Message:
Convert iterator __len__() methods to a private API.

Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1376
retrieving revision 1.1377
diff -u -d -r1.1376 -r1.1377
--- NEWS	24 Sep 2005 14:58:47 -0000	1.1376
+++ NEWS	24 Sep 2005 21:23:05 -0000	1.1377
@@ -12,6 +12,10 @@
 Core and builtins
 -----------------
 
+- All iterators now have a Boolean value of true.  Formerly, some iterators
+  supported a __len__() method which evaluated to False when the iterator
+  was empty.
+
 - On 64-bit platforms, when __len__() returns a value that cannot be
   represented as a C int, raise OverflowError.
 



More information about the Python-checkins mailing list