[ZODB-Dev] BTrees package problems

Patrick Strawderman patrick at zope.com
Mon Jul 22 16:38:02 CEST 2013


On Jul 20, 2013, at 11:27 PM, Christian Tismer <tismer at stackless.com> wrote:

> - BTrees has a serious bug, see the following example:
> 
>> >>> from BTrees import OOBTree as BT
>> >>> t = BT.BTree()
>> >>> for num in range(100):
>> ...   k = str(num)
>> ...   t[k] = k
>> ...
>> >>> t._firstbucket._next = None
>> >>> len(t)
>> Bus error: 10
>> (tmp)minimax:doc tismer$
> 
> So there is either an omission to make t._next() read-only, or a check
> of its validity is missing.

Maybe you could open an issue on Github?


More information about the ZODB-Dev mailing list