[Zope3-dev] Re: adapter registration question

Raphael Ritz r.ritz at biologie.hu-berlin.de
Tue Nov 21 11:25:56 EST 2006


Chris Withers schrieb:
> Tres Seaver wrote:
[..]
> 
> ...and yet it works fine in Zope 2.9.4 :-S
> 
>> The first 'provideAdapter' call raises an exeption because 'str' doesn't
>> have an '__iro__'.  
> 
> I don't even know what an __iro__ is :-S
> 

Interface Resolution Order - I think at least.

Compare this to the better known __mro__ (Method
Resolution Order) which defines the order in which
methods will be looked up on an object - usually
determined by the object's inheritance tree unless
you play dirty tricks with it.

Raphael



More information about the Zope3-dev mailing list