Message228763
| Author | vstinner |
|---|---|
| Recipients | alex, geertj, pitrou, vstinner |
| Date | 2014-10-07.10:02:38 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <CAMpsgwbuMNfKJy5Y_8OqjjeQ78SX0Xpri8G_axnx=6QO_a8QbQ@mail.gmail.com> |
| In-reply-to | <1412647833.95.0.717353599525.issue22564@psf.upfronthosting.co.za> |
| Content | |
|---|---|
> 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). |
|
| History | |||
|---|---|---|---|
| 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 | |