21 Aug
2002
21 Aug
'02
7:02 a.m.
Mind telling us? (I've always used NotImplementedError, so I'm curious.)
OK, from the checkins: - Changed the NotImplementedError in BaseSet.__init__ to TypeError, both for consistency with basestring() and because we have to use TypeError when denying Set.__hash__. Together those provide sufficient evidence that an unimplemented method needs to raise TypeError. --Guido van Rossum (home page: http://www.python.org/~guido/)