Dieter Maurer wrote:
> Jim is heavily defending this difference.
> I am convinced that the difference should not be there
fork anyone? ;-)
> but meanwhile have found a use case for it.
> Suppose, you have a class "C" that implements "I".
> If "queryAdapter" would behave like "I(...)", you
> would have no way to override the implementation
> of "I" by "C".
> With the current behavior, you can use
> "queryAdapter(c, I)" to check whether some special
> requirements apply and in this case use the special purpose
Right, so every time you want these semantics you have to jump through
these hoops. My understanding of the CA was that it was supposed to stop
the need for this kind of copy'n'paste coding?
Simplistix - Content Management, Zope & Python Consulting
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -