Nick Coghlan added the comment:

I asked in more detail about this on the list, but my main question is why 
can't wrap_socket() be fixed by doing a rip-and-replace on its internals (e.g. 
by using a model similar to the one in random, where there's an implicit global 
Random instance that gets invoked if you use the module level API instead of 
creating your own instance), rather than having to tell users to change *their* 
code.

Like Random, I'd like to see SSLContext as a lower level implementation detail 
that's there for when people need it, but can be largely ignored if they just 
want the default behaviours (i.e. system trust store with python-dev specified 
SSL/TLS settings)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28022>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to