[ZODB-Dev] BTrees persistence problem

Florent Guillaume fg at nuxeo.com
Thu Jun 29 14:07:14 EDT 2006


Hi,

Could anyone confirm that this shows a BTree bug:

from BTrees.OOBTree import OOBTree
class B(OOBTree):
   def __init__(self):
     OOBTree.__init__(self)
     print self._p_changed
     self.foo = 4
     print self.foo
     print self._p_changed
     self._p_changed = True
     print self._p_changed
B()

This prints:
False
4
False
False

Where I would expect True for the last two at least.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com





More information about the ZODB-Dev mailing list