2009/8/27 Stephan Richter <srich...@cosmos.phy.tufts.edu>
>
> 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' [1], however that doesn't seem to be available these
> > days.
>
> 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.

Brilliant - works like a treat.

Thanks,
Paul
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to