This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients pitrou, vinay.sajip
Date 2013-02-05.15:14:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360077265.48.0.644174005672.issue17133@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-02-05 15:14:25vinay.sajipsetrecipients: + vinay.sajip, pitrou
2013-02-05 15:14:25vinay.sajipsetmessageid: <1360077265.48.0.644174005672.issue17133@psf.upfronthosting.co.za>
2013-02-05 15:14:25vinay.sajiplinkissue17133 messages
2013-02-05 15:14:25vinay.sajipcreate