[issue22564] ssl: post-commit review of the new memory BIO API

STINNER Victor report at bugs.python.org
Tue Oct 7 00:03:09 CEST 2014


STINNER Victor added the comment:

> 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.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22564>
_______________________________________


More information about the Python-bugs-list mailing list