SOURCES: python-bug-978833.patch (NEW) - new
    arekm 
    arekm at pld-linux.org
       
    Wed Sep  5 13:41:25 CEST 2007
    
    
  
Author: arekm                        Date: Wed Sep  5 11:41:25 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new
---- Files affected:
SOURCES:
   python-bug-978833.patch (NONE -> 1.1)  (NEW)
---- Diffs:
================================================================
Index: SOURCES/python-bug-978833.patch
diff -u /dev/null SOURCES/python-bug-978833.patch:1.1
--- /dev/null	Wed Sep  5 13:41:25 2007
+++ SOURCES/python-bug-978833.patch	Wed Sep  5 13:41:20 2007
@@ -0,0 +1,30 @@
+Index: Lib/socket.py
+===================================================================
+--- Lib/socket.py	(revision 54542)
++++ Lib/socket.py	(working copy)
+@@ -145,6 +145,10 @@
+     send = recv = recv_into = sendto = recvfrom = recvfrom_into = _dummy
+     __getattr__ = _dummy
+ 
++# Wrapper around platform socket objects. This implements
++# a platform-independent dup() functionality. The 
++# implementation currently relies on reference counting
++# to close the underlying socket object.
+ class _socketobject(object):
+ 
+     __doc__ = _realsocket.__doc__
+Index: Lib/httplib.py
+===================================================================
+--- Lib/httplib.py	(revision 54542)
++++ Lib/httplib.py	(working copy)
+@@ -1133,6 +1133,9 @@
+     def __getattr__(self, attr):
+         return getattr(self._sock, attr)
+ 
++    def close(self):
++        SharedSocketClient.close(self)
++        self._ssl = None
+ 
+ class HTTPSConnection(HTTPConnection):
+     "This class allows communication via SSL."
+
================================================================
    
    
More information about the pld-cvs-commit
mailing list