• Tim Peters's avatar
    Collector #892: Misleading error msg when initializing an OIBTree · 8935d030
    Tim Peters authored
    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.
    8935d030
BucketTemplate.c 37.7 KB