• Tim Peters's avatar
    nextBTreeItems() and nextTreeSetItems(): unlike the other set iteration · ec683139
    Tim Peters authored
    "next" functions, these can return a PER_USE() error *after* decrefing
    the keys and values left over from the last call.  But they don't mark
    the iteration as terminated, so finiSetIteration() will also try to
    decref the leftovers.  The fix is to mark the iteration as terminated
    when these functions fail.
    ec683139
BTreeItemsTemplate.c 15.6 KB