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.
Showing
Please register or sign in to comment