Issue #13453: Catch EAI_FAIL in support.transient_internet.

This commit is contained in:
Charles-François Natali 2011-12-10 13:16:44 +01:00
parent 0c6cbbd632
commit 13859bfedc
1 changed files with 1 additions and 0 deletions

View File

@ -877,6 +877,7 @@ def transient_internet(resource_name, *, timeout=30.0, errnos=()):
]
default_gai_errnos = [
('EAI_AGAIN', -3),
('EAI_FAIL', -4),
('EAI_NONAME', -2),
('EAI_NODATA', -5),
# Encountered when trying to resolve IPv6-only hostnames