[docs] [issue24372] Documentation for ssl.wrap_socket's ssl_version parameter is odd

Christian Heimes report at bugs.python.org
Wed Jun 3 15:54:25 CEST 2015


Christian Heimes added the comment:

I'd like to deprecate ssl.wrap_socket() in favor of SSLContext.wrap_socket(). Libraries should rather accept a context than expose the awkward interface of ssl.wrap_socket(). A context object is far more powerful and easier to use.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24372>
_______________________________________


More information about the docs mailing list