commit | f7f390a2510e91935a14e0b25a6c98d9278c962f | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Tue Sep 14 14:37:18 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Tue Sep 14 14:37:18 2010 +0000 |
tree | cf3da6631912269fcf97d0c646c2b25cbe84a45f | |
parent | 7a84877de1bde4ae8c5ab81fd296a2d9a6f164dc [diff] |
Issue #9729: Fix the signature of SSLSocket.recvfrom() and SSLSocket.sendto() to match the corresponding socket methods. Also, fix various SSLSocket methods to raise socket.error rather than an unhelpful TypeError when called on an unconnected socket. Original patch by Andrew Bennetts. NOTE: obviously, these methods are untested and unused in the real world...