--On 9. Dezember 2005 12:05:23 +0500 Victor Safronovich <[EMAIL PROTECTED]> wrote:

Hello zodb-dev!

Is this a correct behaviour?
from BTrees.IIBTree import IIBTree
t = IIBTree(map(None,range(5),range(5)))
list(t.keys())
[0, 1, 2, 3, 4]
k = t.keys()
list(k)
[0, 1, 2, 3, 4]
del t[0]
list(k)
[]

That's different from my instance (Zope HEAD):

t = IIBTree(map(None, range(5), range(5)))
list(t.keys())
[0, 1, 2, 3, 4]
k = t.keys()
list(k)
[0, 1, 2, 3, 4]
del t[0]
list(k)
[1, 2, 3, 4]



-aj

Attachment: pgpzZoG9fM9hM.pgp
Description: PGP signature

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to