From 5b07f3cbfc23d78628cd8d122640e036046f69d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giampaolo=20Rodol=C3=A0?= Date: Fri, 13 Aug 2010 01:30:39 +0000 Subject: (issue 2944) reverting r83704 changes as per Barry Warsaw request --- Lib/asyncore.py | 3 --- Misc/ACKS | 1 - Misc/NEWS | 2 -- 3 files changed, 6 deletions(-) diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 8b9ba87..b6eb67e 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -428,9 +428,6 @@ class dispatcher: self.handle_read() def handle_connect_event(self): - err = self.socket.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) - if err != 0: - raise socket.error(err, _strerror(err)) self.handle_connect() self.connected = True diff --git a/Misc/ACKS b/Misc/ACKS index d94790e..757bc1d 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -817,4 +817,3 @@ Tarek Ziad Peter Åstrand Jesse Noller Fredrik Håård -Alexander Shigin diff --git a/Misc/NEWS b/Misc/NEWS index 9d893b7..fe60cbb 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -109,8 +109,6 @@ C-API Library ------- -- Issue #2944: asyncore doesn't handle connection refused correctly. - - Issue #8447: Make distutils.sysconfig follow symlinks in the path to the interpreter executable. This fixes a failure of test_httpservers on OS X. -- cgit v0.12