A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-November/018518.html below:

[Python-Dev] test_socket.py failing

[Python-Dev] test_socket.py failing [Python-Dev] test_socket.py failingBarry A. Warsaw barry@zope.com
Fri, 9 Nov 2001 16:13:03 -0500
>>>>> "MvL" == Martin v Loewis <martin@v.loewis.de> writes:

    >> This patch "fixes" the test, but I'm not sure it's right.

    MvL> It is surprising that the code got that far. Do you have a
    MvL> computer named "x" in your environment? If yes, your patch is
    MvL> right.

I believe the answer is a qualified "yes" because of the funky
wildcarding going on in my ISP's nameserver:

>>> socket.gethostbyname('x')
'66.92.162.103'

    MvL> If you have the time to investigate, I'd be curious to find
    MvL> out why getaddrinfo doesn't give an error. If you don't have
    MvL> the time, just commit the patch.

Thanks, I committed the patch.

-Barry



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4