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/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4