[Zope3-Users] Getting the most specific interface
srichter at cosmos.phy.tufts.edu
Thu Aug 27 08:40:27 EDT 2009
On Thursday 27 August 2009, Paul Wilson wrote:
> 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
No, it is right, since these methods always must honor the order. The same is
true for `providedBy` of instances.
providedBy(myfoo).flattened() is the right resolution order.
Entrepreneur and Software Geek
Google me. "Zope Stephan Richter"
More information about the Zope3-users