[Python-3000] Abilities / Interfaces
Fred L. Drake, Jr.
fdrake at acm.org
Tue Nov 21 23:25:06 CET 2006
On Tuesday 21 November 2006 17:18, George Sakkis wrote:
> I'd like that too, with some concrete examples if possible. I'm still
> unsure what interfaces buy us that ABCs (are these the same/equivalent
> to mixins?) don't, especially with an adaptation/generic function
> mechanism in place.
One thing that mixins/ABCs can't support that we use quite frequently in Zope
3 applications is stamping additional interfaces on instances. This is often
done to influence adaptation.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
More information about the Python-3000
mailing list