Zsolt Cserna <zsolt.cse...@morganstanley.com> added the comment: Could you please add this change to test_urllib2.py as well?
It has the following line: localaddr = socket.gethostbyname(socket.gethostname()) But urllib2.py has the change related to this bug. That makes test_urllib2 failing when gethostbyname reports different IP than gethostbyname_ex: (Pdb) socket.gethostbyname_ex(socket.gethostname())[2] ['172.31.92.26'] (Pdb) socket.gethostbyname(socket.gethostname()) '172.31.72.206' ---------- nosy: +csernazs _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5625> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com