From b65b4c3a4719f3c310a29e4369cfe69f4396d9d4 Mon Sep 17 00:00:00 2001 From: Josiah Carlson Date: Fri, 11 Jul 2008 22:17:14 +0000 Subject: [PATCH] Fix for the AttributeError in test_asynchat. --- Lib/asyncore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/asyncore.py b/Lib/asyncore.py index e06b3b461c..1ef4896a79 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_event() + obj.handle_close() except (ExitNow, KeyboardInterrupt, SystemExit): raise except: -- 2.40.0