[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset e81189f75d04 by Martin Panter in branch '3.5': Issue #23788: Merge redundant test_bad_address() into test_urllibnet https://hg.python.org/cpython/rev/e81189f75d04 New changeset 16accac4b2f6 by Martin Panter in branch 'default': Issue #23788: Merge

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-12-15 Thread Martin Panter
Martin Panter added the comment: Thanks Berker -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-12-15 Thread Berker Peksag
Berker Peksag added the comment: bad_address.patch looks good to me. -- nosy: +berker.peksag stage: patch review -> commit review ___ Python tracker ___

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-12-07 Thread Martin Panter
Martin Panter added the comment: I propose this patch which merges test_bad_address() from test_urllib2_localnet.py into test_urllibnet.py. It includes applying r75111 to test_urllibnet.py, which adds a trailing dot to the domain name. -- keywords: +patch stage: -> patch review

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-12-07 Thread Martin Panter
Martin Panter added the comment: Sorry the revision adding the precondition is 6adab7448272. -- ___ Python tracker ___

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-12-06 Thread Martin Panter
Martin Panter added the comment: Steve and/or Raniere: I suspect this is the same problem as mentioned in the giant comment, Issue 17564. In other words, it is probably your ISP or DNS which is broken, not Python. However, rather than expecting everyone to automatically read the giant wall of

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-12-06 Thread Martin Panter
Martin Panter added the comment: Actually test_bad_address() in /test/test_urllib2_localnet.py looks redundant with the test of the same name in /test/test_urllibnet.py. That test already has a nice precondition to skip the test if DNS does not fail, originating in revision 7d69d04522e3. And

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-11-19 Thread Steve Harris
Steve Harris added the comment: I experienced the same problem on my system: OS: Xubuntu/Linux 12.04 $ uname -a Linux ives 3.2.0-94-generic #134-Ubuntu SMP Fri Nov 6 18:17:08 UTC 2015 i686 i686 i386 GNU/Linux $ gcc --version gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-03-27 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- title: test_bad_address fails - test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23788

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-03-27 Thread STINNER Victor
STINNER Victor added the comment: Starting from Git commit 1996f3038458df2b6443c23e4705478ff5db43f8 https://github.com/python/cpython/commit/1996f3038458df2b6443c23e4705478ff5db43f8 = https://hg.python.org/cpython/rev/b7c0137cccbe -- nosy: +haypo

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-03-27 Thread STINNER Victor
STINNER Victor added the comment: Hi, Can you please complete your bug report? Can you specifiy your OS? Can you try to rerun the test manually with ./python -m test -u all test_urllib2_localnet? The test: def test_bad_address(self): # Make sure proper exception is raised when

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-03-27 Thread Raniere Silva
Raniere Silva added the comment: Can you please complete your bug report? Can you specifiy your OS? GNU/Linux. $ uname -a Linux pupunha 3.19.2-1-ARCH #1 SMP PREEMPT Wed Mar 18 16:21:02 CET 2015 x86_64 GNU/Linux $ gcc --version gcc (GCC) 4.9.2 20150304 (prerelease) Can you try to rerun the

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-03-27 Thread R. David Murray
R. David Murray added the comment: How did you determine it was that commit? It's a doc update, so it can't be affecting the code. The test passes for me, on linux. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org

[issue23788] test_urllib2_localnet.test_bad_address fails: OSError not raised by urlopen

2015-03-27 Thread STINNER Victor
STINNER Victor added the comment: Can you try simply: socket.create_connection((sadflkjsasf.i.nvali.d., 80)) Here is raise: socket.gaierror: [Errno -2] Name or service not known And what are your DNS servers? cat /etc/resolv.conf -- ___