Merge 3.5 (asyncio)

This commit is contained in:
Victor Stinner 2016-04-01 21:43:54 +02:00
commit 00f4648a39
5 changed files with 10 additions and 5 deletions

View file

@ -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: