Just to be helpfully irritating, I'll note that Zope's C implementation of slice index normalization for BTreeItems objects was off in nearly every way possible, until a few weeks ago. It really is difficult to get this right.