[New-bugs-announce] [issue17133] ssl.wrap_socket doesn't take server_hostname as a kwarg
report at bugs.python.org
Tue Feb 5 16:14:25 CET 2013
New submission from Vinay Sajip:
The wrap_socket function in ssl.py (unlike the method of the same name in SSLContext) doesn't accept a server_hostname argument, despite the fact that it's a one-liner calling SSLSocket, which does take that argument. It it like this for a reason, or just an oversight?
Unless there is some reason not to do so, I think a server_hostname kwarg should be added to the wrap_socket function.
nosy: pitrou, vinay.sajip
title: ssl.wrap_socket doesn't take server_hostname as a kwarg
versions: Python 3.4
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce