[Zope-dev] ZPatterns: Non-ZODB storage and Racks

Roch'e Compaan roche@ybm.co.za
Wed, 8 Nov 2000 18:10:11 +0200


In Rack.py I noticed the following:

        a = self.loadAttrib
        if not a:
            slot = self._writeableSlot(key)
            slot[SelfKey] = item.aq_base    # strip acquisition wrapping
            item._setSlot(slot)             # Not needed for non-ZODB
storage

If item._setSlot set is not needed for non-ZODB storage should I subclass
rack and override createItem?

Roché