
Dec. 5, 2002
1:27 a.m.
BTW, test_socket.py passes just fine for me. hostname(1) returns "freewill.local." (yes, trailing dot).
The difference may be that I used Netinfo Manager to add hostname entries for all my local machines, including the MacOSX machine I ran the tests on. My Netinfo-fu is pretty meager so I don't know if I did it completely right, but it seems to work for me.
That fixed it for me too. I still think the test should be skipped rather than fail when gethostbyname() raises an error. --Guido van Rossum (home page: http://www.python.org/~guido/)