21 Aug
2002
21 Aug
'02
4 a.m.
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/