diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-04-01 19:43:54 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-04-01 19:43:54 (GMT) |
commit | 00f4648a3980c72bb7a4e63803d5596d964fe1f6 (patch) | |
tree | 87eff04791596e5e78d6681aa6916df2ea47f02b /Lib/asyncio/selector_events.py | |
parent | 89d3f53aacc78a196bc2f57643a19b15974aa630 (diff) | |
parent | c94a93aecbca31939086bc65f09f683bd521a2f6 (diff) | |
download | cpython-00f4648a3980c72bb7a4e63803d5596d964fe1f6.zip cpython-00f4648a3980c72bb7a4e63803d5596d964fe1f6.tar.gz cpython-00f4648a3980c72bb7a4e63803d5596d964fe1f6.tar.bz2 |
Merge 3.5 (asyncio)
Diffstat (limited to 'Lib/asyncio/selector_events.py')
-rw-r--r-- | Lib/asyncio/selector_events.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/asyncio/selector_events.py b/Lib/asyncio/selector_events.py index cbb3625..3dba4fb 100644 --- a/Lib/asyncio/selector_events.py +++ b/Lib/asyncio/selector_events.py @@ -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: |