summaryrefslogtreecommitdiff
path: root/Lib/asyncio/unix_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-04-01 21:43:54 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-04-01 21:43:54 +0200
commit00f4648a3980c72bb7a4e63803d5596d964fe1f6 (patch)
tree87eff04791596e5e78d6681aa6916df2ea47f02b /Lib/asyncio/unix_events.py
parent89d3f53aacc78a196bc2f57643a19b15974aa630 (diff)
parentc94a93aecbca31939086bc65f09f683bd521a2f6 (diff)
downloadcpython-git-00f4648a3980c72bb7a4e63803d5596d964fe1f6.tar.gz
Merge 3.5 (asyncio)
Diffstat (limited to 'Lib/asyncio/unix_events.py')
-rw-r--r--Lib/asyncio/unix_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/unix_events.py b/Lib/asyncio/unix_events.py
index 2beba3e3ab..aad1068f55 100644
--- a/Lib/asyncio/unix_events.py
+++ b/Lib/asyncio/unix_events.py
@@ -577,7 +577,7 @@ class _UnixWritePipeTransport(transports._FlowControlMixin,
def _fatal_error(self, exc, message='Fatal error on pipe transport'):
# should be called by exception handler only
- if isinstance(exc, (BrokenPipeError, ConnectionResetError)):
+ if isinstance(exc, base_events._FATAL_ERROR_IGNORE):
if self._loop.get_debug():
logger.debug("%r: %s", self, message, exc_info=True)
else: