[issue35164] socket.getfqdn and socket.gethostbyname fail on MacOS

2018-12-13 Thread James Crowther
James Crowther added the comment: Hi Ronald, I've replied to your comments below >My gut feeling is that this is some issue with your system or environment. I Doubt it, happens with another MacBook air which is literally out of the box, no mods. >Some more questions: >

[issue35164] socket.getfqdn and socket.gethostbyname fail on MacOS

2018-11-10 Thread James Crowther
James Crowther added the comment: Hi guys, I am the OP for the stack overflow issue question that sparked this bug report. In response to Ned's question about configuration of the system: MacOS 10.14.1 Installed x-code and command line tools python versions used, varies, 3.5.3, 3.

[issue29705] socket.gethostbyname, getaddrinfo etc broken on MacOS 10.12

2017-03-02 Thread James Crowther
James Crowther added the comment: Hi Ned, Thats ok, thanks! I’m going to try it on another machine, its really strange, I’m wondering what I might have done on my mac to cause it to flake out like this. Will do some more testing with other macs running 10.12 and see if they have the

[issue29705] socket.gethostbyname, getaddrinfo etc broken on MacOS 10.12

2017-03-02 Thread James Crowther
James Crowther added the comment: Hi Ned, Currently running 10.12.3. and output is as follows Jamess-MacBook-pro:crowdrender_repository jamesmac$ python3.5 Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 26 2016, 10:47:25) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "

[issue29705] socket.gethostbyname, getaddrinfo etc broken on MacOS 10.12

2017-03-02 Thread James Crowther
James Crowther added the comment: Hi Ned, Doesn’t seem to matter, I can try my local host name given by; socket.gethostname() or I can try another host on the network, same result. If I do the exact same operation using the same python version on windows or linux, then I get the

[issue29705] socket.gethostbyname, getaddrinfo etc broken on MacOS 10.12

2017-03-02 Thread James Crowther
New submission from James Crowther: Currently I can't use socket to resolve host names to IP addresses. This is something critical to mine as well as other applications that run over networks. When I attempt to do the following: import socket socket.getaddrinfo(hostname, None