[code-quality] pylint traceback AttributeError: 'NoneType' object has no attribute 'scope'

2014-08-19 Thread Mark E. Hamilton
With this test script: % cat test_util.py #!/usr/bin/env python """Some docstring""" import sys if __name__ == '__main__': """Another docstring.""" pass pylint throws this traceback: % pylint --rcfile=/dev/null test_util.py Traceback (most recent call last): File "/projects/sierra/li

Re: [code-quality] pylint traceback AttributeError: 'NoneType' object has no attribute 'scope'

2014-08-19 Thread Claudiu Popa
On Tue, Aug 19, 2014 at 7:10 PM, Mark E. Hamilton wrote: > With this test script: > > % cat test_util.py > #!/usr/bin/env python > """Some docstring""" > import sys > if __name__ == '__main__': > """Another docstring.""" > pass > > pylint throws this traceback: > > > % pylint --rcfile=/dev

Re: [code-quality] [EXTERNAL] Re: pylint traceback AttributeError: 'NoneType' object has no attribute 'scope'

2014-08-19 Thread Mark E. Hamilton
Claudiu, On 08/19/14 11:47, Claudiu Popa wrote: Hi, Mark. Which version of astroid? I'm unable to replicate this using the latest. Also, for these type of crashes, it's best to report them on our bug tracker. Thanks. Sorry, I should have included that information: % pylint --rcfile=/dev/null