> From: Guido van Rossum [mailto:guido@python.org] > > OK, from the checkins: > > - Changed the NotImplementedError in BaseSet.__init__ to TypeError, > both for consistency with basestring() and because we have to use > TypeError when denying Set.__hash__. Together those provide > sufficient evidence that an unimplemented method needs to raise > TypeError. 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). Of course, it would probably also break code ... Tim Delaney
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