[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-08-11 Thread Ned Deily
Ned Deily n...@acm.org added the comment: The problem still exists on OS X 10.3. See Issue9568 for patches. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8455 ___

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Applied to 2.6 (r82280), r82281 (3.2), r82282 (3.1). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed type: - behavior ___ Python tracker

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The mac-related code in urllib is correct, it uses the SystemConfiguration framework on MacOSX to get the proxy settings. That said, the code in _scproxy is not entirly correct, it makes the wrong assumption w.r.t. the value of

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I've applied my patch in r82150, which fixes the issue for me in the trunk. I'll merge the patch into the other branches if this does indeed fix the buildbot issue. -- ___ Python tracker

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-06-22 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Just to confirm that with this fix test_urllib2_localnet is now passing for me. Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8455

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-06-21 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Apparently, the failure on OSX is due to the fact that urllib.proxy_bypass('localhost') returns True. This makes the opener to bypass the ProxyHandler that is explicitly set up to use the correct server port: def

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-06-21 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: In fact, urllib.proxy_bypass() returns True for any simple host name (i.e. any string without '.' in it): proxy_bypass('xyz') True proxy_bypass('') True proxy_bypass('whatever') True I think the fix I am proposing

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-06-21 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8455 ___

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-06-21 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Replacing 'http://localhost' with 'http://127.0.0.1' for this test is fine. But, urllib.proxy_bypass returning for True for any string, is not correct. In the code, I see that Proxy Settings from Mac OSX system configuration is obtained

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-05-13 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- assignee: - ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8455 ___ ___

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-05-02 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I'm also seeing this on OS X 10.6. It seems to have started with r80243. -- nosy: +mark.dickinson, ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8455

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-05-02 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: To clarify, that last message was about trunk, where this test is failing for me since r80243. Adding 2.7 to the versions. -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-04-21 Thread David Bolen
David Bolen db3l@gmail.com added the comment: For what it's worth, I added a few debugging statements to a local trunk checkout, and it looks like the port is getting lost somewhere along the way to setup the proxy... So the refused error is accurate and because it's trying the default

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-04-19 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: http://www.python.org/dev/buildbot/builders/x86 Tiger 3.x/builds/25/steps/test/logs/stdio test_urllib2_localnet test test_urllib2_localnet failed -- multiple errors occurred; run in verbose mode for details Re-running test

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-04-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +db3l ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8455 ___ ___ Python-bugs-list

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-04-19 Thread Ned Deily
Ned Deily n...@acm.org added the comment: This appears to be a recently introduced failure; the same failure is seen on current trunk build on 10.5 and 10.6 as well. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-04-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Maybe r80198 of #7154? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8455 ___

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-04-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8455 ___ ___

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-04-19 Thread Ned Deily
Ned Deily n...@acm.org added the comment: That wouldn't explain trunk failures. The _scproxy code has been in 26 and trunk for a long time. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8455