[Zope3-dev] RFC: Updated better interface declaration proposal

Guido van Rossum guido@python.org
Fri, 07 Mar 2003 07:05:05 -0500


> > I'm curious, what is Interface.__repr__ used for?
> 
> It is used to make a cache key for the interface.

A cache key doesn't have to be a string; adding a specialized function
to make a cache key might be faster.

--Guido van Rossum (home page: http://www.python.org/~guido/)