[Zope-dev] zope.component: calling an Interface and calling queryAdapter give differing results

Brandon Craig Rhodes brandon at rhodesmill.org
Fri Sep 26 11:55:55 EDT 2008


Shane Hathaway <shane at hathawaymix.org> writes:

> Philipp von Weitershausen wrote:
>> 
>> So overall I'm +1
>
> +1 from me as well on IFoo.adapt() with the signature Chris suggested. 
> "zope.component.getMultiAdapter()" is only easy to remember if you're a 
> die-hard Zope coder, while IFoo.adapt() seems more useful to the larger 
> Python community.

A similar suggestion was hammered out last September; I guess September
is the official month for the annual reconsideration of adaptation
syntax? :-)

   http://mail.zope.org/pipermail/zope3-dev/2007-September/023824.html
   http://mail.zope.org/pipermail/zope3-dev/2007-September/023904.html
   http://mail.zope.org/pipermail/zope3-dev/2007-September/023907.html

I'm encouraged by the fact that this time it looks like people with time
are interested enough to actually begin producing code?  At the time
that I made the 2007 proposal I was still very new to the code base and
never got the courage up (or time available) to start making changes...

-- 
Brandon Craig Rhodes   brandon at rhodesmill.org   http://rhodesmill.org/brandon



More information about the Zope-Dev mailing list