[ZODB-Dev] btree.minKey

Chris Withers chris at simplistix.co.uk
Wed Jan 24 05:06:26 EST 2007


Simon Burton wrote:
> btree.minKey(t) is documented* to return the smallest key at least
> as big as t. It seems that if there is no such element it
> returns the maximum key. 
> 
> *in the programming guide, v3.6.0

Hmm, can you write a failing unit test that demonstrates this?

The BTrees package does have a tests folder, so I'd suggest finding a 
suitable test file to add your new test to and then submit them to the 
Zope collector (http://www.zope.org/Collectors/Zope)

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the ZODB-Dev mailing list