From: Josiah Carlson Date: Sun, 7 Sep 2008 03:53:58 +0000 (+0000) Subject: This fixes a small inconsistency between trunk and 3.0, closing bug 3764. X-Git-Tag: v2.6rc1~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1680b8c16cacb043df85f312074b684b810f8afe;p=thirdparty%2FPython%2Fcpython.git This fixes a small inconsistency between trunk and 3.0, closing bug 3764. --- diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 9cd496161360..34e719a5685b 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -102,7 +102,7 @@ def readwrite(obj, flags): if flags & (select.POLLERR | select.POLLNVAL): obj.handle_expt_event() if flags & select.POLLHUP: - obj.handle_close() + obj.handle_close_event() except (ExitNow, KeyboardInterrupt, SystemExit): raise except: