pylint crashes always with:
/usr/lib/python2.6/site-packages/pylint/checkers/similar.py:194: DeprecationWarning: enumerate exists in builtins since py2.3
for line_no, line in enumerate(self._stripped_lines):
/usr/lib/python2.6/site-packages/pylint/checkers/variables.py:308: DeprecationWarning: enumerate exists in builtins since py2.3
for i, stmt in enumerate(astmts[1:]):
/usr/lib/python2.6/site-packages/pylint/checkers/exceptions.py:135: DeprecationWarning: enumerate exists in builtins since py2.3
for index, handler in enumerate(node.handlers):
Traceback (most recent call last):
File "/usr/bin/pylint", line 4, in <module>
lint.Run(sys.argv[1:])
File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 858, in __init__
linter.check(args)
File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 490, in check
self.check_astng_module(astng, walker, rawcheckers)
File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 565, in check_astng_module
walker.walk(astng)
File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 516, in walk
self.walk(child)
File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 516, in walk
self.walk(child)
File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 516, in walk
self.walk(child)
File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 516, in walk
self.walk(child)
File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 516, in walk
self.walk(child)
File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 513, in walk
cb(astng)
File "/usr/lib/python2.6/site-packages/pylint/checkers/exceptions.py", line 82, in visit_raise
if node.type is None:
AttributeError: 'Raise' object has no attribute 'type'
Versions:
python-logilab-astng-0.21.0-16.1
python-logilab-common-0.52.1-22.1
python-pylint-0.21.2-10.1
Build available here:
https://build.opensuse.org/project/monitor?project=home%3Afrispete%3APyQt
|
Comments
-
2011/01/07 16:47, written by sthenault
-
2011/01/07 18:46, written by frispete
-
2011/01/10 09:39, written by sthenault
add commentthis issue had been fixed in pylint 0.22
Unfortunately 0.22.0 is blocked by the issue, I wrote you by mail today . Do you wish me to add another ticket of it? If yes, for which project?
Upps, just noticed, I forgot to press the send button..
The issue is in your inbox now.
sorry, I don't know which issue you're talking about.