Antoine Pitrou added the comment:

ssl.wrap_socket is pretty much a legacy API. It has too many parameters 
already, and I don't really want to make it worse. The SSLContext API is 
designed to be more palatable, even though it's a bit less compact.

(also, ssl.wrap_socket will implicitly create a new context each time, which is 
wasteful - especially when context initialization implies loading certificates, 
etc.)

----------
nosy: +pitrou
resolution:  -> wont fix
status: open -> closed
versions: +Python 3.4 -Python 3.3

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

Reply via email to