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