Pylint complains (properly) when you try to do
raise NotImplemented
but the complaint is very generic - it complains that you are raising an
object which isn't a subclass of Exception. Because Python has two very
similarly named builtin objects which really have little to do with one
another: NotImplemented and NotImplementedError, I think it might be a good
idea to produce a more specific error message in this case:
NotImplemented raised - should raise NotImplementedError
--
Skip Montanaro - [email protected] - http://www.smontanaro.net/
Getting old sucks, but it beats dying young
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects