[Python-Dev] test_socket.py failing

Martin v. Loewis martin@v.loewis.de
Fri, 9 Nov 2001 21:47:56 +0100


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

It is surprising that the code got that far. Do you have a computer
named "x" in your environment? If yes, your patch is right. If no,
it appears something is wrong with your getaddrinfo implementation
(as called in socketmodule.c:2562). What system are you using?

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

Regards,
Martin