[Python-3000] Abilities / Interfaces

Jean-Paul Calderone exarkun at divmod.com
Mon Nov 20 21:48:46 CET 2006


On Mon, 20 Nov 2006 10:27:05 -0800, Guido van Rossum <guido at python.org> wrote:
>I'd like to have a discussion of abilities and interfaces but right
>now I don't have time -- maybe tomorrow. I see Andrew's proposal as
>mostly isomorphic to Zope's notion of interfaces, but the new
>terminology may make it possible to clarify certain distinctions
>better, e.g. the distinction between a class that provides an ability
>to its instances, and the abilities that an instance has.

Zope Interface makes this distinction very clear.  It has separate
terminology for each thing, and separate APIs for dealing with each.

Jean-Paul


More information about the Python-3000 mailing list