]> granicus.if.org Git - python/commit
Issue #9729: Fix the signature of SSLSocket.recvfrom() and
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 14 Sep 2010 14:37:18 +0000 (14:37 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 14 Sep 2010 14:37:18 +0000 (14:37 +0000)
commitf7f390a2510e91935a14e0b25a6c98d9278c962f
treecf3da6631912269fcf97d0c646c2b25cbe84a45f
parent7a84877de1bde4ae8c5ab81fd296a2d9a6f164dc
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...
Lib/ssl.py
Lib/test/test_ssl.py
Misc/NEWS