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
sahum...@texla.cl

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

Reply via email to