[Zope3-dev] Question on new feature

Dominik Huber dominik.huber at projekt01.ch
Sat Feb 5 10:09:06 EST 2005


Gintautas Miliauskas wrote:

>I might be wrong, but I think that __used_for__ is not validated or
>taken into account anywhere into the code, it's just a comment.
>adapts(), on the other hand, is an explicit statement and allows you to
>write cool and concise things like "provideAdapter(MyAdapter)" (I'm not
>sure if such adapters can be registered in ZCML without interface
>declarations, but that is probable).
>
>  
>
Jim changed that for zcml too:
http://mail.zope.org/pipermail/zope3-checkins/2005-January/024060.html

Regards,
Dominik




More information about the Zope3-dev mailing list