Hello,

With 0.27.0 I get the following exception;

Traceback (most recent call last):
  File "C:\Python26\Scripts\pylint", line 5, in <module>
    pkg_resources.run_script('pylint==0.27.0', 'pylint')
  File 
"C:\python26\lib\site-packages\setuptools-0.6c9-py2.6.egg\pkg_resources.py", 
line 448, in run_script
  File 
"C:\python26\lib\site-packages\setuptools-0.6c9-py2.6.egg\pkg_resources.py", 
line 1166, in run_script
  File 
"c:\python26\lib\site-packages\pylint-0.27.0-py2.6.egg\EGG-INFO\scripts\pylint",
 line 3, in <module>
    run_pylint()
  File 
"C:\python26\lib\site-packages\pylint-0.27.0-py2.6.egg\pylint\__init__.py", 
line 21, in run_pylint
    Run(sys.argv[1:])
  File "C:\python26\lib\site-packages\pylint-0.27.0-py2.6.egg\pylint\lint.py", 
line 991, in __init__
    linter.check(args)
  File "C:\python26\lib\site-packages\pylint-0.27.0-py2.6.egg\pylint\lint.py", 
line 587, in check
    self.check_astng_module(astng, walker, rawcheckers)
  File "C:\python26\lib\site-packages\pylint-0.27.0-py2.6.egg\pylint\lint.py", 
line 666, in check_astng_module
    walker.walk(astng)
  File "C:\python26\lib\site-packages\pylint-0.27.0-py2.6.egg\pylint\utils.py", 
line 600, in walk
    self.walk(child)
  File "C:\python26\lib\site-packages\pylint-0.27.0-py2.6.egg\pylint\utils.py", 
line 600, in walk
    self.walk(child)
  File "C:\python26\lib\site-packages\pylint-0.27.0-py2.6.egg\pylint\utils.py", 
line 600, in walk
    self.walk(child)
  File "C:\python26\lib\site-packages\pylint-0.27.0-py2.6.egg\pylint\utils.py", 
line 597, in walk
    cb(astng)
  File 
"C:\python26\lib\site-packages\pylint-0.27.0-py2.6.egg\pylint\checkers\logging.py",
 line 88, in visit_callfunc
    and [ancestor for ancestor in inferred._proxied.ancestors() if (
AttributeError: 'Function' object has no attribute 'ancestors'

With < 0.26.0 no exceptions, with 0.26.0 I didn't test.

Is it possible for inferred._proxied to have no ancestors method?


Kind regards,

Okko Willeboordse

Consultant



Imtech ICT Technical Systems

A: Basicweg 16, 3821 BR Amersfoort

T: +31 (0) 33 4500412

M: +31 (0) 6 46 17 43 09

E:
mailto:[email protected]

W: http://imtech.eu/NL/ICT/Technical-Systems

L: 
http://www.linkedin.com/in/okkowilleboordse




_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to