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.
Created on 2015年02月27日 20:43 by Shakeel Mohamed, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg236835 - (view) | Author: Shakeel Mohamed (Shakeel Mohamed) | Date: 2015年02月27日 20:43 | |
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) |
|||
| msg238249 - (view) | Author: Shakeel Mohamed (Shakeel Mohamed) | Date: 2015年03月16日 22:48 | |
Hi, any plans to do this? If not, we can close it. |
|||
| msg272089 - (view) | Author: Berker Peksag (berker.peksag) * (Python committer) | Date: 2016年08月06日 11:03 | |
Thanks for the patch, but I prefer keeping the section shorter. Also, note that disabling verification globally is discouraged in the PEP. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:13 | admin | set | github: 67730 |
| 2016年08月06日 11:03:10 | berker.peksag | set | status: open -> closed nosy: + berker.peksag messages: + msg272089 resolution: rejected stage: resolved |
| 2015年03月16日 22:48:25 | Shakeel Mohamed | set | messages: + msg238249 |
| 2015年02月28日 17:31:17 | berker.peksag | set | nosy:
+ janssen, pitrou, giampaolo.rodola, christian.heimes, alex, dstufft |
| 2015年02月27日 20:43:47 | Shakeel Mohamed | create | |