commit | 4653fb556c5dacdbd4d8afadd2f73a6c0b394157 | [log] [tgz] |
---|---|---|
author | R. David Murray <rdmurray@bitdance.com> | Thu Jun 03 20:19:25 2010 +0000 |
committer | R. David Murray <rdmurray@bitdance.com> | Thu Jun 03 20:19:25 2010 +0000 |
tree | 63ae428bc786c6f37d1bf9f9f4395d5b10855d2b | |
parent | 61746d580e956bc2dda7fcf230a581e463a4d186 [diff] |
#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.