[Python-checkins] r85289 - python/branches/py3k/Lib/http/client.py
antoine.pitrou
python-checkins at python.org
Wed Oct 6 20:38:23 CEST 2010
Author: antoine.pitrou
Date: Wed Oct 6 20:38:22 2010
New Revision: 85289
Log:
FakeSocket is (supposed to be) gone in 3.x
Modified:
python/branches/py3k/Lib/http/client.py
Modified: python/branches/py3k/Lib/http/client.py
==============================================================================
--- python/branches/py3k/Lib/http/client.py (original)
+++ python/branches/py3k/Lib/http/client.py Wed Oct 6 20:38:22 2010
@@ -1067,13 +1067,6 @@
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
-
- def FakeSocket (sock, sslobj):
- warnings.warn("FakeSocket is deprecated, and won't be in 3.x. " +
- "Use the result of ssl.wrap_socket() directly instead.",
- DeprecationWarning, stacklevel=2)
- return sslobj
-
__all__.append("HTTPSConnection")
class HTTPException(Exception):
More information about the Python-checkins
mailing list