> > 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/)