zope.inferface.interface.InterfaceClass.__init__ defines a nice
attribute self.__identifier__ that stores self.__module__ + '.' +
self.__name__, which is very handy when indexing and searching
interfaces in Plone.

However, unlike __module__, __identifier__ is not part of the
IInterface declaration. Should it be added there to lift this
attribute above implementation detail status?

It can then also be used in zope.component.interface where it could
replace the various usages of __module__ + '.' + __name__.

Martijn Pieters
Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to