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

@ -91,7 +91,7 @@ class _ProactorBasePipeTransport(transports._FlowControlMixin,
self.close()
def _fatal_error(self, exc, message='Fatal error on pipe transport'):
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: