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

Ronald Oussoren report at bugs.python.org
Mon Nov 5 07:29:01 EST 2018


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I agree with Ned. The code fragment works for me as well on 10.14.1 and I've used simular code in the past on different versions of macOS as well.

@ssbarnea: 
- What is the hostname as shown in the "Sharing" preference pane? Does the name include special characters (anything but ASCII letters and digits)?
- What version of macOS do you use?
- How did you install Python? (Python.org installer, homebrew, self built, ...)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35164>
_______________________________________


More information about the Python-bugs-list mailing list