Re: [ZODB-Dev] btree.minKey

2007-01-24 Thread Chris Withers
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

Re: [ZODB-Dev] btree.minKey

2007-01-24 Thread Christian Theune
Am Mittwoch, den 24.01.2007, 10:59 +0100 schrieb Christian Theune: > Am Dienstag, den 23.01.2007, 13:30 -0800 schrieb Simon Burton: > > 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. > >

Re: [ZODB-Dev] btree.minKey

2007-01-24 Thread Christian Theune
Am Dienstag, den 23.01.2007, 13:30 -0800 schrieb Simon Burton: > 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. So if my set is [1,2] and I do minKey(3) i get 2? Christian -- gocept gmbh

[ZODB-Dev] btree.minKey

2007-01-23 Thread Simon Burton
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 Simon. ___ For more information about ZODB, see the ZODB Wiki: http