] > améliorer pylint (Logilab.org)

Email améliorer pylint

from
subject
améliorer pylint
date
2003/09/27 14:43
Lu sur c.l.p.

Still, I would like a tool that could tell what kind of exceptions a
particular chunk of Python code can raise. I find myself too often doing
something like

>>> [][0]
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
IndexError: list index out of range
>>>

which becomes impractical as code complexity increases.


-- 
Nicolas Chauvat

http://www.logilab.com - "Mais où est donc Ornicar ?" - LOGILAB, Paris (France)