Martin Panter added the comment: I think the original test is trying to ensure that an invalid numeric IP address results in an OSError. So changing it to skip the test on OSError does not seem wise. Also, Silent Ghost said that the problem was with gethostbyaddr(), not gethostbyname().
I was wondering if there was a separate way to detect the troublesome ISP environment, e.g. trying gethostbyname(bogus_domain). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28728> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com