<div dir="ltr">+1 on Nick's suggestion. (Might also mention that this is the reason why both functions should exist and have compatible signatures.)<br><br>Also please, please, please add explicit mention of Python 2.7, 3.4 and 3.5 in the Abstract (for example in the 3rd paragraph of the abstract).<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 19, 2014 at 3:52 PM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 20 September 2014 08:34, Alex Gaynor <<a href="mailto:alex.gaynor@gmail.com">alex.gaynor@gmail.com</a>> wrote:<br>
> Pushed a new version which I believe adresses all of these. I added an<br>
> example of opting-out with urllib.urlopen, let me know if there's any other<br>
> APIs you think I should show an example with.<br>
<br>
</span>It would be worth explicitly stating the process global monkeypatching hack:<br>
<br>
    import ssl<br>
    ssl._create_default_https_context = ssl._create_unverified_context<br>
<br>
Adding that hack to sitecustomize allows corporate sysadmins that can<br>
update their standard operating environment more easily than they can<br>
fix invalid certificate infrastructure to work around the problem on<br>
behalf of their users. It also helps out users that will be able to<br>
deal with such broken infrastructure without updating each and every<br>
one of their scripts.<br>
<br>
It's deliberately ugly because it's a genuinely bad idea that folks<br>
should want to avoid using, but as a matter of practical reality,<br>
corporate IT departments are chronically understaffed, and often fully<br>
committed to fighting the crisis du jour, without sufficient time<br>
being available for regular infrastructure maintenance tasks.<br>
<br>
Regards,<br>
Nick.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Nick Coghlan   |   <a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>   |   Brisbane, Australia<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>--Guido van Rossum (<a href="http://python.org/~guido">python.org/~guido</a>)
</div>