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. ---------- messages: 181442 nosy: pitrou, vinay.sajip priority: normal severity: normal status: open title: ssl.wrap_socket doesn't take server_hostname as a kwarg type: enhancement versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17133> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com