[Zope3-dev] Ranking adapters (2nd try)

Phillip J. Eby pje at telecommunity.com
Tue Sep 30 13:41:31 EDT 2003


At 08:26 PM 9/30/03 +0300, Steve Alexander wrote:
>I was suggesting that if I register locally an adapter to B2 that this 
>implies registration of that adapter to B1 and B0 also.

What happens if you *subsequently* register an adapter to B0?  Does it 
override the adapter declared to B2, where B0 is concerned?

Unfortunately, not only is a ranking semantic needed, but the system must 
account for the effects of changes to the inputs of that ranking, as well 
as changes in the available adapters to be ranked.

Ideally, declaration/registration order should not have any effect on the 
resulting precedence(s).




More information about the Zope3-dev mailing list