From: Victor Stinner Date: Thu, 24 Jul 2014 17:00:28 +0000 (+0200) Subject: (Merge 3.4) Issue #16133: The asynchat.async_chat.handle_read() method now X-Git-Tag: v3.5.0a1~1213 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=316b16de13bef1d6e649bc12456bdae34d685d91;p=python (Merge 3.4) Issue #16133: The asynchat.async_chat.handle_read() method now ignores BlockingIOError exceptions. Initial patch written by Xavier de Gaye. Document also in asyncore documentation that recv() may raise BlockingIOError. --- 316b16de13bef1d6e649bc12456bdae34d685d91 diff --cc Lib/test/test_asynchat.py index b74b944bbb,2dc9d0c17a..3a33fc8b2d --- a/Lib/test/test_asynchat.py +++ b/Lib/test/test_asynchat.py @@@ -11,7 -12,7 +12,8 @@@ import socke import sys import time import unittest +import warnings + import unittest.mock try: import threading except ImportError: