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

Guido van Rossum guido@python.org
Tue, 20 Aug 2002 21:46:08 -0400

> Is there any particular reason BaseSet and basestring need to raise
> different exceptions on an attempt at instantiation ?

Hm, I dunno.  NotImplementedError was intended for this kind of use,
but TypeError also matches.  I'll add an XXX for this.

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