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 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 <rep...@bugs.python.org>
<http://bugs.python.org/issue8455>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to