[issue29588] importing ssl can fail with NameError: name 'PROTOCOL_TLS' is not defined

Christian Heimes report at bugs.python.org
Fri Feb 17 06:46:32 EST 2017


Christian Heimes added the comment:

The _ssl extension module always defines and exports PROTOCOL_TLS. The name is always available. I guess you somehow mixed a new ssl.py with an old _ssl.so. Please verify that _ssl is correct and defines the name.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29588>
_______________________________________


More information about the Python-bugs-list mailing list