Kaydet (Commit) 2f7bf239 authored tarafından Ned Deily's avatar Ned Deily

Issue #22289: merge from 3.4

......@@ -1328,7 +1328,8 @@ def transient_internet(resource_name, *, timeout=30.0, errnos=()):
(isinstance(err, urllib.error.HTTPError) and
500 <= err.code <= 599) or
(isinstance(err, urllib.error.URLError) and
"ConnectionRefusedError" in err.reason) or
(("ConnectionRefusedError" in err.reason) or
("TimeoutError" in err.reason))) or
n in captured_errnos):
if not verbose:
sys.stderr.write(denied.args[0] + "\n")
......
......@@ -104,6 +104,11 @@ Build
- Issue #23585: make patchcheck will ensure the interpreter is built.
Tests
-----
- Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout.
Tools/Demos
-----------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment