Message228763
> For total cleanness maybe the constructor should raise a TypeError if server_hostname is passes as a bytes.
Oh. So there are two attributes? SSLSocket.server_hostname and
SSLSocket._sslobj.server_hostname? The constructor should make sure
that both are consistent (ex: initialize SSLSocket.server_hostname
from sslobj.server_hostname), or SSLSocket.server_hostname should be a
property reading SSLSocket._sslobj.server_hostname (or a getter/setter
if we should be able to modify it). |
|
Date |
User |
Action |
Args |
2014-10-07 10:02:38 | vstinner | set | recipients:
+ vstinner, geertj, pitrou, alex |
2014-10-07 10:02:38 | vstinner | link | issue22564 messages |
2014-10-07 10:02:38 | vstinner | create | |
|