[issue17564] test_urllib2_localnet fails

2013-03-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue17564] test_urllib2_localnet fails

2013-03-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae5c4a9118b8 by Ezio Melotti in branch 'default': #17564: merge with 3.3. http://hg.python.org/cpython/rev/ae5c4a9118b8 -- ___ Python tracker _

[issue17564] test_urllib2_localnet fails

2013-03-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset f668d2267303 by Ezio Melotti in branch '3.3': #17564: skip test_bad_address unless the tests are run with -unetwork/-uall. http://hg.python.org/cpython/rev/f668d2267303 New changeset a472fece6f31 by Ezio Melotti in branch '2.7': #17564: skip test_ba

[issue17564] test_urllib2_localnet fails

2013-03-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: LGTM - please make the changes in all versions of python. ( I had the same patch pending locally and was waiting for my push->merge cycle time) -- ___ Python tracker ___

[issue17564] test_urllib2_localnet fails

2013-03-29 Thread Ezio Melotti
Ezio Melotti added the comment: Attached a patch to skip the test unless -unetwork/-uall is provided. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file29604/issue17564.diff ___ Python tracker

[issue17564] test_urllib2_localnet fails

2013-03-28 Thread Ezio Melotti
Ezio Melotti added the comment: Moving it behind -uall/-unetwork sounds good to me. -- keywords: +easy stage: -> needs patch status: pending -> open versions: +Python 2.7, Python 3.3 ___ Python tracker ___

[issue17564] test_urllib2_localnet fails

2013-03-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: RDM's comment: If that test is run by default, we could change it to only run with -uall. Then normal users wouldn't see it. This is a good idea, only to reduce the occurrence of this test_run. Logically, this may not help at all. I am kind of undecided on

[issue17564] test_urllib2_localnet fails

2013-03-27 Thread R. David Murray
R. David Murray added the comment: I think we should instead have it email the ISP that their DNS is broken :) Seriously, though, complain to your ISP. My ISP at least provides name servers that don't have this "feature" if you prefer to use them, and they are the default for business account

[issue17564] test_urllib2_localnet fails

2013-03-27 Thread Mark Shannon
Mark Shannon added the comment: Bah, stupid BT :( I opened the URL in my browser and got a "helpful" message telling me "Sorry, the website sadflkjsasf.i.nvali.d. cannot be found" Perhaps we should just remove this test? I suspect this is only going to become more common. -- _

[issue17564] test_urllib2_localnet fails

2013-03-27 Thread R. David Murray
R. David Murray added the comment: Indeed, this is almost always a (common) ISP DNS server misconfiguration. Well, they would claim they are "helping their users", but we know better. Not much we can do about it, except perhaps add an explanatory note to the test failure message (if assertRai

[issue17564] test_urllib2_localnet fails

2013-03-27 Thread Ezio Melotti
Ezio Melotti added the comment: There's a comment in the test that says it might be because of the ISP. What happens if you try to open that address in a browser or using something like wget? -- nosy: +ezio.melotti status: pending -> open ___ Python

[issue17564] test_urllib2_localnet fails

2013-03-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: Are you behind some kind of a proxy? This is seen when you are running the tests and your interent connection is via proxy (and that is handling this invalid URL test) -- nosy: +orsenthil status: open -> pending __

[issue17564] test_urllib2_localnet fails

2013-03-27 Thread Mark Shannon
New submission from Mark Shannon: The test_urllib2_localnet test fails when run with a clean build from a clean checkout. Machine: Ubuntu 12.04 LTS, 64 bit Intel i3-2370M CPU @ 2.40GHz × 4 Test output: $ ./python -m test -v test_urllib2_localnet == CPython 3.4.0a0 (default:53cc3dbb1918, Mar