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

Delaney, Timothy tdelaney@avaya.com
Thu, 22 Aug 2002 08:56:41 +1000


> From: Guido van Rossum [mailto:guido@python.org]
> 
> > Hmm ... is there a case that NotImplementedError should be a
> > subclass of TypeError? Conceptually it would make sense (this *type*
> > does not implement this method).
> 
> I think you're overthinking this.  NotImplementedError is fine for
> code that wants to send that particular message to the user.  We're
> playing with TypeError here because we're trying to be close to the
> metal.

I'd be willing to concede that I was overthinking, except that it took
surprisingly little thought for the connection to be made ;)

Tim Delaney