[Python-3000-checkins] r59010 - python/branches/py3k/Lib/ssl.py
guido.van.rossum
python-3000-checkins at python.org
Fri Nov 16 02:28:45 CET 2007
Author: guido.van.rossum
Date: Fri Nov 16 02:28:45 2007
New Revision: 59010
Modified:
python/branches/py3k/Lib/ssl.py
Log:
Disable dup() of SSLSocket. I don't think it can be made to work.
Modified: python/branches/py3k/Lib/ssl.py
==============================================================================
--- python/branches/py3k/Lib/ssl.py (original)
+++ python/branches/py3k/Lib/ssl.py Fri Nov 16 02:28:45 2007
@@ -140,6 +140,10 @@
self.do_handshake_on_connect = do_handshake_on_connect
self.suppress_ragged_eofs = suppress_ragged_eofs
+ def dup(self):
+ raise NotImplemented("Can't dup() %s instances" %
+ self.__class__.__name__)
+
def _checkClosed(self, msg=None):
# raise an exception here if you wish to check for spurious closes
pass
More information about the Python-3000-checkins
mailing list