[Python-checkins] cpython: Issue #5661: on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag...

charles-francois.natali python-checkins at python.org
Sat Oct 29 14:26:33 CEST 2011


http://hg.python.org/cpython/rev/507dfb0ceb3b
changeset:   73194:507dfb0ceb3b
user:        Charles-François Natali <neologix at free.fr>
date:        Sat Oct 29 14:29:39 2011 +0200
summary:
  Issue #5661: on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag...

files:
  Lib/test/test_asyncore.py |  4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py
--- a/Lib/test/test_asyncore.py
+++ b/Lib/test/test_asyncore.py
@@ -647,6 +647,10 @@
                 self.flag = True
                 self.close()
 
+            def handle_expt(self):
+                self.flag = True
+                self.close()
+
         class TestHandler(BaseTestHandler):
 
             def handle_read(self):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list