gethostbyname: check for gethostname() at start and call _socket.gethostbyname() in that case
- it's OK because _socket.gethostbyname() won't access network - this fixes test_socket.py/testHostnameRes
Showing
Please register or sign in to comment