On Fri, Apr 12, 2013 at 8:02 AM, Barry Warsaw <ba...@python.org> wrote: > Interesting. I'm having a hard time articulating why, but NotImplementedError > just feels more right to me in this case.
To me, NotImplementedError means that a subclass didn't implement something it should have implemented. But that's not the case here, is it? It's not a bug in the class, it's a bug in the call site. So I agree it ought to be TypeError. -- --Guido van Rossum (python.org/~guido) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com