- # Pass the socket to the response
+ # this effectively passes the connection to the response
# remember this, so we can tell when it is complete
self.__response = response
raise error(EBADF, 'Bad file descriptor')
# All _delegate_methods must also be initialized here.
send = recv = recv_into = sendto = recvfrom = recvfrom_into = _dummy
setattr(self, method, getattr(_sock, method))
self._sock = _closedsocket()
dummy = self._sock._dummy
for method in _delegate_methods:
+- Bug #978833: Revert r50844, as it broke _socketobject.dup.
- Bug #1675967: re patterns pickled with Python 2.4 and earlier can
now be unpickled with Python 2.5.