mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
bpo-37035: Don't log OSError (GH-13548)
https://bugs.python.org/issue37035
This commit is contained in:
parent
ff6b2e66b1
commit
1f39c28e48
8 changed files with 35 additions and 18 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue