Håkan Lövdahl added the comment:
Yes, I can confirm that changing 'URL' to be 'http://127.0.0.1' works. I think
that would be a solution to this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22753
Wouter van Heyst added the comment:
What the patch does is replace the hard-coded address 127.0.0.1 for the
loopback interface with a one-time lookup. I'd argue the hunk @@ -315,7 +316,7
@@ should be dropped.
The two arguments that motivate this change are:
1) The address of the loopback
R. David Murray added the comment:
The problem is that there are several places in the test suite (and the stdlib
itself!) that assume that 127.0.0.1 is a valid loopback address. This is the
de-facto Internet standard, and while I know not all systems make 127.0.0.1 a
valid loopback and/or
New submission from Håkan Lövdahl:
Running this test gave me an error:
./python -m test -v test_urllib2_localnet
==
ERROR: test_proxy_qop_auth_works (test.test_urllib2_localnet.ProxyAuthTests)
Changes by Daniel Eriksson dan...@starstable.com:
--
nosy: +puppet
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22753
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti, larstiq
stage: - patch review
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22753
___
Changes by Håkan Lövdahl ha...@llsdata.fi:
--
keywords: +patch
Added file: http://bugs.python.org/file37053/issue_22753.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22753
___
Håkan Lövdahl added the comment:
Ubuntu Linux 12.04
64bit
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22753
___
___
Python-bugs-list mailing
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