On 10 août 10:25, [email protected] wrote: > 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
http://www.logilab.org/ticket/9982 -- Sylvain Thénault LOGILAB, Paris (France) Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services CubicWeb, the semantic web framework: http://www.cubicweb.org _______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
