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

Tim Peters tim.one@comcast.net
Sun, 11 May 2003 20:36:47 -0400


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

Modified Files:
	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.613 => 1.614 ===
--- Zope/doc/CHANGES.txt:1.613	Wed May  7 12:04:21 2003
+++ Zope/doc/CHANGES.txt	Sun May 11 20:36:16 2003
@@ -57,6 +57,11 @@
 
     Bugs Fixed
 
+     - 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".
+
      - Collector #882: delPropertySheet was broken due to a typo
 
      - Collector #683: WeDAV request without XML preamble