On 02 août 09:18, Ben Finney wrote: > Vincent Legoll <[email protected]> writes: > > > Hello, > > > > pylint reports that we are raising NoneType when we are not, > > see the attached test case > > Yes. This also happens (for me) if the condition is given as the more > idiomatic:: > > if exc is not None: > raise exc > > I'm not sure how much run-simulation pylint should do to avoid these > kinds of conditions; surely whatever heuristic gets added will be > defeated by one condition or another. this is a known astng "bug": there are no real flow handling. We should try to handle those use case though... I've added this code as comment on http://www.logilab.org/ticket/3207
-- 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
