From 1680b8c16cacb043df85f312074b684b810f8afe Mon Sep 17 00:00:00 2001 From: Josiah Carlson Date: Sun, 7 Sep 2008 03:53:58 +0000 Subject: [PATCH] This fixes a small inconsistency between trunk and 3.0, closing bug 3764. --- Lib/asyncore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 9cd4961613..34e719a568 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: -- 2.40.0