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 vstinner
Recipients alex, geertj, pitrou, vstinner
Date 2014-10-06.22:03:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412632989.68.0.727534182967.issue22564@psf.upfronthosting.co.za>
In-reply-to
Content
> However I think that in theory SSLSocket.server_hostname could be a bytes, if a bytes was passed into the constructor.

newPySSLSocket() expects a char* string and use PyUnicode_Decode() to decode bytes.
History
Date User Action Args
2014-10-06 22:03:09vstinnersetrecipients: + vstinner, geertj, pitrou, alex
2014-10-06 22:03:09vstinnersetmessageid: <1412632989.68.0.727534182967.issue22564@psf.upfronthosting.co.za>
2014-10-06 22:03:09vstinnerlinkissue22564 messages
2014-10-06 22:03:09vstinnercreate