On 18 juillet 13:39, Michael Foord wrote: > Hello all, Hi Michael, > If you include a return or break statement inside the finally clause > of a try... finally block then exceptions raised in the try clause > are silently swallowed instead of being re-raised. > > This seems like a bad thing (tm) and it would be useful if pylint > could warn about this. Is there already a pylint checker for this?
nop. I've filed a ticket for this easy & nice to have functionality: http://www.logilab.org/ticket/9776 cheers, -- 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 Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects