[issue5625] test_urllib2 fails - urlopen error file not on local host
Senthil Kumaran
report at bugs.python.org
Wed Dec 15 11:54:28 CET 2010
Senthil Kumaran <orsenthil at gmail.com> added the comment:
Zsolt,
The change in the urllib2 was at a place where tuple of all local ips
were required.
In test_urllib2, which testcase failed?
Also, can you make this change and see if this helps in your case.
- localaddr = socket.gethostbyname(socket.gethostname())
+ localaddr = socket.gethostbyname('localhost')
If this is sufficient, this change can be made in the trunk.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5625>
_______________________________________
More information about the Python-bugs-list
mailing list