[Python-projects] pylint

Neal Becker ndbecker2 at gmail.com
Tue Sep 4 16:54:36 CEST 2007


pylint --version
No config file found, using default configuration
pylint 0.13.1, 
astng 0.17.0, common 0.21.2
Python 2.5 (r25:51908, Apr 10 2007, 10:27:40) 
[GCC 4.1.2 20070403 (Red Hat 4.1.2-8)]

Fails with
from uvector import abs as ABS

Traceback (most recent call last):
  File "/usr/bin/pylint", line 4, in <module>
    lint.Run(sys.argv[1:])
  File "/usr/lib/python2.5/site-packages/pylint/lint.py", line 890, in 
__init__
    linter.check(args)
  File "/usr/lib/python2.5/site-packages/pylint/lint.py", line 496, in check
    self.check_file(filepath, modname, checkers)
  File "/usr/lib/python2.5/site-packages/pylint/lint.py", line 513, in 
check_file
    astng = self._check_file(filepath, modname, checkers)
  File "/usr/lib/python2.5/site-packages/pylint/lint.py", line 537, in 
_check_file
    if not self.check_astng_module(astng, checkers):
  File "/usr/lib/python2.5/site-packages/pylint/lint.py", line 599, in 
check_astng_module
    if implements(checker, IASTNGChecker)])
  File "/usr/lib/python2.5/site-packages/pylint/lint.py", line 616, in 
astng_events
    self.astng_events(child, checkers, _reversed_checkers)
  File "/usr/lib/python2.5/site-packages/pylint/lint.py", line 616, in 
astng_events
    self.astng_events(child, checkers, _reversed_checkers)
  File "/usr/lib/python2.5/site-packages/pylint/lint.py", line 616, in 
astng_events
    self.astng_events(child, checkers, _reversed_checkers)
  File "/usr/lib/python2.5/site-packages/pylint/lint.py", line 616, in 
astng_events
    self.astng_events(child, checkers, _reversed_checkers)
  File "/usr/lib/python2.5/site-packages/pylint/lint.py", line 613, in 
astng_events
    checker.visit(astng)
  File "/usr/lib/python2.5/site-packages/logilab/astng/utils.py", line 84, in 
visit
    method(node)
  File "/usr/lib/python2.5/site-packages/pylint/checkers/typecheck.py", line 
158, in visit_assign
    function_node = safe_infer(node.expr.node)
  File "/usr/lib/python2.5/site-packages/pylint/checkers/utils.py", line 40, 
in safe_infer
    value = inferit.next()
  File "/usr/lib/python2.5/site-packages/logilab/astng/inference.py", line 45, 
in wrapped
    for res in _func(node, context, **kwargs):
  File "/usr/lib/python2.5/site-packages/logilab/astng/__init__.py", line 122, 
in _infer_stmts
    for infered in stmt.infer(context):
  File "/usr/lib/python2.5/site-packages/logilab/astng/inference.py", line 45, 
in wrapped
    for res in _func(node, context, **kwargs):
  File "/usr/lib/python2.5/site-packages/logilab/astng/__init__.py", line 122, 
in _infer_stmts
    for infered in stmt.infer(context):
  File "/usr/lib/python2.5/site-packages/logilab/astng/inference.py", line 45, 
in wrapped
    for res in _func(node, context, **kwargs):
  File "/usr/lib/python2.5/site-packages/logilab/astng/inference.py", line 
350, in infer_from
    name = self.real_name(name)
  File "/usr/lib/python2.5/site-packages/logilab/astng/nodes.py", line 332, in 
real_name
    raise NotFoundError(asname)
logilab.astng._exceptions.NotFoundError: ABS


More information about the Python-Projects mailing list