This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jdemeyer
Recipients christian.heimes, jdemeyer
Date 2017-02-17.11:35:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487331323.42.0.794986300226.issue29588@psf.upfronthosting.co.za>
In-reply-to
Content
This is a regression introduced in Python 2.7.13:

Importing the ssl module can fail with

>>> import ssl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/jdemeyer/sage/local/lib/python/ssl.py", line 133, in <module>
    PROTOCOL_SSLv23 = PROTOCOL_TLS
NameError: name 'PROTOCOL_TLS' is not defined

While getting an ImportError from the ssl module is expected if SSL is not available (httplib for example handles that fine), a NameError is not.
History
Date User Action Args
2017-02-17 11:35:23jdemeyersetrecipients: + jdemeyer, christian.heimes
2017-02-17 11:35:23jdemeyersetmessageid: <1487331323.42.0.794986300226.issue29588@psf.upfronthosting.co.za>
2017-02-17 11:35:23jdemeyerlinkissue29588 messages
2017-02-17 11:35:22jdemeyercreate