# pylint --disable-msg-cat=CR --disable-msg=W0613 layman/overlays/source.py No config file found, using default configuration ************* Module layman.overlays.source W: 64:OverlaySource.supported: Dangerous default value [] as argument W: 94:OverlaySource.is_supported: Catch "Exception" W: 94:OverlaySource.is_supported: Unused variable 'error' Traceback (most recent call last): File "/usr/bin/pylint-2.6", line 4, in <module> lint.Run(sys.argv[1:]) File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 891, in __init__ linter.check(args) File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 502, in check self.check_astng_module(astng, checkers) File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 579, in check_astng_module if implements(checker, IASTNGChecker)]) File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 596, in astng_events self.astng_events(child, checkers, _reversed_checkers) File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 596, in astng_events self.astng_events(child, checkers, _reversed_checkers) File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 596, in astng_events self.astng_events(child, checkers, _reversed_checkers) File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 596, in astng_events self.astng_events(child, checkers, _reversed_checkers) File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 596, in astng_events self.astng_events(child, checkers, _reversed_checkers) File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 596, in astng_events self.astng_events(child, checkers, _reversed_checkers) File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 596, in astng_events self.astng_events(child, checkers, _reversed_checkers) File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 593, in astng_events checker.visit(astng) File "/usr/lib/python2.6/site-packages/logilab/astng/utils.py", line 320, in visit method(node) File "/usr/lib/python2.6/site-packages/pylint/checkers/typecheck.py", line 190, in visit_getattr args=(owner.display_type(), name, AttributeError: 'ClassDef' object has no attribute 'display_type' ========== Checked file <layman/overlays/source.py> can be found here: http://layman.git.sourceforge.net/git/gitweb.cgi?p=layman/layman;a=blob;f=layman/overlays/source.py;h=0dc1ba225e9e43e76d81a8eaf8a6d5b2da590c4d;hb=35b801214aabd8d4a06bcd501a21601827ea2256
I can't reproduce this problem. Which versions of dev-python/logilab-common and dev-python/astng do you use?
dev-python/logilab-common-0.46.0 dev-python/astng-0.19.1
Can you reproduce this problem with dev-python/astng-0.19.3?
After emerging dev-python/astng-0.19.3 the very same case no longer crashes.
I have updated dependencies.