[Python-3000] Abilities / Interfaces

Gustavo Niemeyer gustavo at niemeyer.net
Thu Nov 23 14:02:43 CET 2006


> I was under the impression that Zope's actual use cases for
> instance-specific interfaces have mainly to do with *view* lookups and
> other types of lookups that don't really come into the current
> discussion scope as I understand it.  That is, I thought that instance
> interfaces were used primarily for "n-tuple adaptation" (the
> adaptation equivalent of multiple and/or predicate dispatch)?

While both, instance-specific interfaces and multiple adaptation,
are used in Zope 3 and considered very useful, their usefulness is
not dependent on each other.  The whole concept surely becomes
more interesting with both in place, of course.

(...)
> :)  I just want a minimal core that blesses what the language and
> stdlib *already* do (special methods and single-dispatch __mro__
> lookups), while still allowing "advanced" paradigms (Zope,
> RuleDispatch, etc.) to "play on a level playing field" with each
> other.

What the standard library is already doing doesn't need blessing,
and neither is blessing needed for allowing advanced paradigms
elsewhere, since they're already in place right now.

-- 
Gustavo Niemeyer
http://niemeyer.net


More information about the Python-3000 mailing list