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 - s...@pobox.com - http://www.smontanaro.net/
    Getting old sucks, but it beats dying young
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to