>> 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?

Mile

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

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

Reply via email to