Interface.__identifier__
1 Nov
2007
1 Nov
'07
8:14 p.m.
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
6754
Age (days ago)
6754
Last active (days ago)
0 comments
1 participants
participants (1)
-
Martijn Pieters