>> class IndexableObjectWrapper(object):
>>      implements(IIndexableObjectWrapper)
>>      __providedBy__ = IndexableObjectSpecification()
>> What does this code actually achieve (I get the implements bit, obviously)?!
> This makes the wrapper transparent, allowing the index to look up 
> adapters for the interfaces of the object. TextIndexNG3 works that way.

Brilliant! Now it all makes sense.  Any objections to me adding some 
comments into IndexableObjectSpecification to this effect?


Zope-CMF maillist  -  Zope-CMF@lists.zope.org

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Reply via email to