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

Aahz aahz@pythoncraft.com
Wed, 21 Aug 2002 00:00:21 -0400


On Tue, Aug 20, 2002, Guido van Rossum wrote:
>
>>> 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.
> 
> I found a good reason why it should be TypeError, so TypeError it is.

Mind telling us?  (I've always used NotImplementedError, so I'm
curious.)
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

Project Vote Smart: http://www.vote-smart.org/