[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.535.2.103

Tim Peters tim.one@comcast.net
Mon, 12 May 2003 12:36:39 -0400


Update of /cvs-repository/Zope/doc
In directory cvs.zope.org:/tmp/cvs-serv2912/doc

Modified Files:
      Tag: Zope-2_6-branch
	CHANGES.txt 
Log Message:
Collector #892:  Misleading error msg when initializing an OIBTree
from a dict with a float value.

Mapping_update():  This squashed errors raised by PyObject_SetItem(),
changing them to a "not a 2-tuple" TypeError instead.  Unclear why, since
2-tupleness was checked earlier.  Fixed by backporting part of the
ZODB4 BTree construction code, which doesn't have this problem.  Bonus:
it's faster now too.


=== Zope/doc/CHANGES.txt 1.535.2.102 => 1.535.2.103 ===
--- Zope/doc/CHANGES.txt:1.535.2.102	Fri May  9 15:50:26 2003
+++ Zope/doc/CHANGES.txt	Mon May 12 12:36:08 2003
@@ -86,6 +86,11 @@
         the first object, leaving all the other objects in the
         version.
 
+      - Collector #892: misleading error msg when initializing an OIBTree
+        from a dict with a float value.  The message claimed that the
+        dict's items didn't consist of 2-element tuples, but of course
+        they do.  The TypeError now says "expected integer value".
+
   Zope 2.6.1 
     
     Features added