[Python-Dev] type categories
Wed, 14 Aug 2002 21:38:18 -0400 (EDT)
>> Not really. I can see how an interface can claim that a particular
>> method exists, but not how it can claim that the method implements a
>> function that is antisymmetric and transitive.
Guido> That's done in the docs, usually. Zope even has the notion of a
Guido> "marker" interface -- an interface that says "this object has property
Guido> such-and-such" but which does not assert any methods or attributes.
So perhaps what I mean by a category is the set of all types that
implement a particular marker interface.