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

Senthil Kumaran report at bugs.python.org
Tue Jun 22 06:23:12 CEST 2010


Senthil Kumaran <orsenthil at 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 by calling _get_proxy_settings().
proxy_settings = _get_proxy_settings()

The is the check to to see if proxy_settings['exclude_simple'] is set.
It seems that, it is set under conditions, which either might be a wrong behavior, or we should not rely on this property.

----------
nosy: +orsenthil

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8455>
_______________________________________


More information about the Python-bugs-list mailing list