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 Shakeel Mohamed
Recipients Shakeel Mohamed, docs@python
Date 2015-02-27.20:43:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425069828.0.0.476725699175.issue23542@psf.upfronthosting.co.za>
In-reply-to
Content
In the "Opting Out" section of PEP 476, there's a workaround for disabling SSL cert verification.

I think it would be worth updating the section to include the following workaround when using urllib2.build_opener(), like so:

unverified_ssl_handler = urllib2.HTTPSHandler(context=ssl._create_unverified_context())
opener = urllib2.build_opener(unverified_ssl_handler)
History
Date User Action Args
2015-02-27 20:43:48Shakeel Mohamedsetrecipients: + Shakeel Mohamed, docs@python
2015-02-27 20:43:48Shakeel Mohamedsetmessageid: <1425069828.0.0.476725699175.issue23542@psf.upfronthosting.co.za>
2015-02-27 20:43:47Shakeel Mohamedlinkissue23542 messages
2015-02-27 20:43:47Shakeel Mohamedcreate