pylint #70495 absolute imports fail depending on module path [validation pending]
[0] vostro:~/tmp$ pylint src/s3ql/argparse.py
[20] vostro:~/tmp$ (cd src; pylint s3ql/argparse.py)
[20] vostro:~/tmp$ cat src/s3ql/argparse.py
import argparse
[0] vostro:~/tmp$ cat src/s3ql/__init__.py
[0] vostro:~/tmp$ pylint --version
[0] vostro:~/tmp$ | |
priority | normal |
---|---|
type | bug |
done in | 0.24.0 |
load | 0.200 |
load left | 0.000 |
closed by | #2a5477c2a57f closes #70495: absolute imports fail depending on module path (patch by Jacek Konieczny) |
ticket traceability chain
- #46772 absolute imports fail depending on module path - not validated
- #70495 absolute imports fail depending on module path - validation pending
Comments
-
2011/07/08 08:36, written by Jajcus
-
2011/07/08 09:23, written by Jajcus
add commentA simple patch to logilab-astng fixes that: http://www.logilab.org/ticket/70565
The 'variables' checker in Pylint relied on the broken behaviour, so, after patching logilab-astng, a patch to Pylint is also needed: