19 Jun
2000
19 Jun
'00
12:45 p.m.
It looks like retrieved items have no _v_dm_ set. I fixed it (not sure this is right) with: File: Rack.py def getItem(self, key): """Get an item from the rack by key""" # Borrow canonicals map for per-transaction item cache k = key, item = self._canonicalForm(k,_marker) if item is _marker: item = self.retrieveItem(key) self._registerCanonical(k,item) # XXX Should we cache non-existence? if item is not None: item._setRack(self.aq_inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ return item