pylint #37843 pylint get false E1101 on crcmod.Crc call [open]
I am using crcmod in my program. I have a call to the Crc class that is part of crcmod and I get an error: Module 'crcmod' has no 'Crc' member. My environment is pylint 0.21.1, crcmod 1.7, python 2.4, and AIX 5.3. | |
priority | normal |
---|---|
type | bug |
done in | <not specified> |
load | 0.500 |
load left | 0.500 |
closed by | <not specified> |
similar entities
Comments
-
2012/02/08 10:49, written by anon
-
2012/02/08 10:51, written by anon
add commentI get the same thing on Mac OS X 10.7 (Lion) with python 2.7.2.
My crc16 module works well and passes it's tests, but pylint picks up the following "errors".
E: 44:CRC16: Module 'crcmod' has no 'Crc' member
E: 51:CRC16.__init__: Module 'crcmod' has no 'Crc' member
E: 62:CRC16.Update: Instance of 'CRC16' has no 'update' member
E: 89:main_test: Module 'crcmod' has no 'Crc' member
E: 95:main_test: Module 'crcmod' has no 'Crc' member
E: 99:main_test: Module 'crcmod' has no 'mkCrcFun' member
E:103:main_test: Module 'crcmod' has no 'mkCrcFun' member
E:109:main_test: Module 'crcmod' has no 'Crc' member
E:113:main_test: Module 'crcmod' has no 'Crc' member
E:119:main_test: Module 'crcmod' has no 'Crc' member
E:123:main_test: Module 'crcmod' has no 'Crc' member
$ pylint --version
No config file found, using default configuration
pylint 0.21.2,
astng 0.20.2, common 0.51.1
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 14:13:39)
[GCC 4.0.1 (Apple Inc. build 5493)]