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 steve.dower
Recipients paul.moore, python-dev, steve.dower, tim.golden, zach.ware
Date 2016-05-26.19:26:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464290766.87.0.117475201716.issue27114@psf.upfronthosting.co.za>
In-reply-to
Content
One slight change to the patch for 2.7 - has to catch OSError.

Just realised that I forgot to mention the reason we shouldn't just let the exception propagate out is that we then never load certificates specified by the SSL_CERT_FILE variable. Handling the exception allows a workaround.

If the exception occurs and no other certificates have been provided, it seems certain that a later operation is going to fail with a much more useful message (i.e. unverifiable connection, or whatever it says). There are also libraries (I think urllib is the one that was causing me actual trouble) that keep retrying the call when it fails, and all of those would need to be updated to handle this error.

The docs don't specify potential exceptions, so I see only good by not raising an exception here.
History
Date User Action Args
2016-05-26 19:26:06steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, python-dev, zach.ware
2016-05-26 19:26:06steve.dowersetmessageid: <1464290766.87.0.117475201716.issue27114@psf.upfronthosting.co.za>
2016-05-26 19:26:06steve.dowerlinkissue27114 messages
2016-05-26 19:26:06steve.dowercreate