mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Merge 3.5 (asyncio)
This commit is contained in:
commit
00f4648a39
5 changed files with 10 additions and 5 deletions
|
@ -579,8 +579,7 @@ class _SelectorTransport(transports._FlowControlMixin,
|
|||
|
||||
def _fatal_error(self, exc, message='Fatal error on transport'):
|
||||
# Should be called from exception handler only.
|
||||
if isinstance(exc, (BrokenPipeError,
|
||||
ConnectionResetError, ConnectionAbortedError)):
|
||||
if isinstance(exc, base_events._FATAL_ERROR_IGNORE):
|
||||
if self._loop.get_debug():
|
||||
logger.debug("%r: %s", self, message, exc_info=True)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue