Hi all; I just upgraded to a newer version of pylint and now I'm seeing
many spurious E1101 errors.

Before I was using:
      * Python 2.7.6
      * Pylint 1.1.0
      * Astroid 1.0.1
      * logilab-common 0.61.0

Now I've upgraded to:
      * Python 2.7.8
      * Pylint 1.4.0
      * Astroid 1.3.2
      * logilab-common 0.63.0

Everything about this new install appears to work fine, EXCEPT pylint.

I'm seeing tons of strange E1101 error on standard modules, like
time.sleep() and others (readline, etc.)  For example:

$ cat sl.py
import time
time.sleep(1)

$ python sl.py
<sleeps for 1s successfully>

$ pylint sl.py
************* Module sl
C:  1, 0: Missing module docstring (missing-docstring)
E:  2, 0: Module 'time' has no 'sleep' member (no-member)

If I run this with my old setup (older python/pylint/etc.), it doesn't
complain at all.  Why am I seeing this invalid error?

Thanks!

_______________________________________________
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality

Reply via email to