summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-06-03 20:19:25 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-06-03 20:19:25 (GMT)
commit4653fb556c5dacdbd4d8afadd2f73a6c0b394157 (patch)
tree63ae428bc786c6f37d1bf9f9f4395d5b10855d2b /Misc
parent61746d580e956bc2dda7fcf230a581e463a4d186 (diff)
downloadcpython-4653fb556c5dacdbd4d8afadd2f73a6c0b394157.zip
cpython-4653fb556c5dacdbd4d8afadd2f73a6c0b394157.tar.gz
cpython-4653fb556c5dacdbd4d8afadd2f73a6c0b394157.tar.bz2
#8889: rewrite transient_internet so we don't use EAI_NODATA on FreeBSD.
FreeBSD doesn't have socket.EAI_NODATA. I rewrote the routine because there's no easy way to conditionally include a context manager in a with statement. As a side benefit, instead of a stack of context managers there's now only one.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 4 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 81891c1..8d69ebe 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -105,7 +105,10 @@ Extension Modules
Tests
-----
-- Issue #8835: test_support.transient_internet() catchs gaierror(EAI_NONAME)
+- Issue #8889: test_support.transient_internet rewritten so that the new
+ checks also work on FreeBSD, which lacks EAI_NODATA.
+
+- Issue #8835: test_support.transient_internet() catches gaierror(EAI_NONAME)
and gaierror(EAI_NODATA)
- Issue #7449: Skip test_socketserver if threading support is disabled