diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2019-05-27 13:28:34 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-05-27 13:28:34 (GMT) |
commit | 1f39c28e489cca0397fc4c3675d13569318122ac (patch) | |
tree | 60e976746b5353b636d9db95e8a8728c4a1f3f6c /Lib/asyncio/base_events.py | |
parent | ff6b2e66b19a26b4c2ab57e62e1ab9f3d94dd76a (diff) | |
download | cpython-1f39c28e489cca0397fc4c3675d13569318122ac.zip cpython-1f39c28e489cca0397fc4c3675d13569318122ac.tar.gz cpython-1f39c28e489cca0397fc4c3675d13569318122ac.tar.bz2 |
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.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 63b072b..ce4f190 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') |