[Python-Dev] PEP 218 (sets); moving set.py to Lib

Guido van Rossum guido@python.org
Wed, 21 Aug 2002 00:02:09 -0400

> 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

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