I am wondering what the best way is to get the most specific interface
is from a class.
Relying on the first interface returned from 'implementedBy()' doesn't
feel right. I've found another post asking roughly this question that
uses 'queryType' , however that doesn't seem to be available these
>>> [x.__name__ for x in implementedBy(MyFoo)]
['IMyFoo', 'IBarFoo', ... ]
I want some reliable way of returning 'IMyFoo' but can't seem to find it...
Zope3-users mailing list