pylint: no-member PROTOCOL_SSLv23 for ssl
Hello, First of all, excuse me if this is not the right place to ask this simple question. I have this very simple example that when run through pylint gives me the following error: sahumada@sahumada-ThinkPad-T510:~$ cat d.py import ssl print ssl.PROTOCOL_SSLv23 sahumada@sahumada-ThinkPad-T510:~$ python d.py 2 sahumada@sahumada-ThinkPad-T510:~$ pylint -r n d.py ************* Module d E: 3, 6: Module 'ssl' has no 'PROTOCOL_SSLv23' member (no-member) sahumada@sahumada-ThinkPad-T510:~$ python --version Python 2.7.12 sahumada@sahumada-ThinkPad-T510:~$ pylint --version pylint 1.5.2, astroid 1.4.4 Python 2.7.12 (default, Jul 1 2016, 15:12:24) [GCC 5.4.0 20160609] sahumada@sahumada-ThinkPad-T510:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial Any ideas? Cheers, -- Sergio Ahumada sahumada@texla.cl
* Sergio Ahumada <sahumada@texla.cl> [2016-09-17 19:47:24 +0200]:
sahumada@sahumada-ThinkPad-T510:~$ pylint -r n d.py ************* Module d E: 3, 6: Module 'ssl' has no 'PROTOCOL_SSLv23' member (no-member)
See https://github.com/PyCQA/pylint/issues/399
sahumada@sahumada-ThinkPad-T510:~$ pylint --version pylint 1.5.2, astroid 1.4.4
You might want to update to pylint 1.6.4 and astroid 1.4.8 where this is fixed. Florian -- http://www.the-compiler.org | me@the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/
participants (2)
-
Florian Bruhin
-
Sergio Ahumada