[issue22753] urllib2 localnet Changed test to lookup IP-address of localhost

R. David Murray report at bugs.python.org
Tue Oct 28 16:49:17 CET 2014


R. David Murray added the comment:

Your description of the solution ("change localhost to 127.0.0.1") does not match the content of the patch.  The patch appears to be looking up the IP address associated with 'localhost' and using that.  On most systems that would be 127.0.0.1, but perhaps on yours it is not.

I suspect your system has a configuration problem that has nothing to do with Python, but it isn't clear.

In any case the patch is incorrect, since one of the tests it is changing is specifically testing 127.0.0.1, from what I can see.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22753>
_______________________________________


More information about the Python-bugs-list mailing list