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
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
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