mirror of https://github.com/python/cpython
Issue #13453: Catch EAI_FAIL in support.transient_internet.
This commit is contained in:
parent
b918bdc92c
commit
97c9428c91
|
@ -764,6 +764,7 @@ def transient_internet(resource_name, timeout=30.0, errnos=()):
|
||||||
]
|
]
|
||||||
default_gai_errnos = [
|
default_gai_errnos = [
|
||||||
('EAI_AGAIN', -3),
|
('EAI_AGAIN', -3),
|
||||||
|
('EAI_FAIL', -4),
|
||||||
('EAI_NONAME', -2),
|
('EAI_NONAME', -2),
|
||||||
('EAI_NODATA', -5),
|
('EAI_NODATA', -5),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue