aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2019-05-27 16:28:34 +0300
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-27 06:28:34 -0700
commit1f39c28e489cca0397fc4c3675d13569318122ac (patch)
tree60e976746b5353b636d9db95e8a8728c4a1f3f6c /Lib/asyncio/base_events.py
parentbpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574) (diff)
downloadcpython-1f39c28e489cca0397fc4c3675d13569318122ac.tar.gz
cpython-1f39c28e489cca0397fc4c3675d13569318122ac.tar.bz2
cpython-1f39c28e489cca0397fc4c3675d13569318122ac.zip
bpo-37035: Don't log OSError (GH-13548)
https://bugs.python.org/issue37035
Diffstat (limited to 'Lib/asyncio/base_events.py')
-rw-r--r--Lib/asyncio/base_events.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
index 63b072b851e..ce4f1904f95 100644
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -59,13 +59,6 @@ _MIN_SCHEDULED_TIMER_HANDLES = 100
# before cleanup of cancelled handles is performed.
_MIN_CANCELLED_TIMER_HANDLES_FRACTION = 0.5
-# Exceptions which must not call the exception handler in fatal error
-# methods (_fatal_error())
-_FATAL_ERROR_IGNORE = (BrokenPipeError,
- ConnectionResetError, ConnectionAbortedError)
-
-if ssl is not None:
- _FATAL_ERROR_IGNORE = _FATAL_ERROR_IGNORE + (ssl.SSLCertVerificationError,)
_HAS_IPv6 = hasattr(socket, 'AF_INET6')