Author pitrou
Recipients gregory.p.smith, paul.moore, pitrou, steve.dower, tim.golden, zach.ware
Date 2017-02-27.10:13:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488190437.1.0.863727982397.issue29639@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure how much of the original analysis was right.  I've just fired up a network-less Windows VM and 'localhost' seems to resolve just fine:

>>> socket.gethostbyname('localhost')
'127.0.0.1'
>>> socket.getaddrinfo('localhost', 80, socket.AF_UNSPEC, socket.SOCK_STREAM)

[(<AddressFamily.AF_INET6: 23>,
  <SocketKind.SOCK_STREAM: 1>,
  0,
  '',
  ('::1', 80, 0, 0)),
 (<AddressFamily.AF_INET: 2>,
  <SocketKind.SOCK_STREAM: 1>,
  0,
  '',
  ('127.0.0.1', 80))]


But we should defer to our Windows experts on this.

(also, perhaps we should simply mandate that buildbots have at least basic DNS functionality. This would lighten the maintenance load on the test suite slightly.)
History
Date User Action Args
2017-02-27 10:13:57pitrousetrecipients: + pitrou, gregory.p.smith, paul.moore, tim.golden, zach.ware, steve.dower
2017-02-27 10:13:57pitrousetmessageid: <1488190437.1.0.863727982397.issue29639@psf.upfronthosting.co.za>
2017-02-27 10:13:56pitroulinkissue29639 messages
2017-02-27 10:13:56pitroucreate