[issue11511] Proposal for exposing proxy bypass settings in ProxyHandler

2011-03-14 Thread Scott Wilson
New submission from Scott Wilson : Several proxy tests in test_urllib2_localnet were failing for me on osx due to spurious interference of my configured proxy settings. Attaching a patch that proposes exposing the proxy bypass settings in the same manner as the proxies when constructing

[issue11500] Fixes failing urllib2 proxy tests on OSX

2011-03-14 Thread Scott Wilson
Scott Wilson added the comment: This patch adds test coverage to the osx proxy bypass code and includes the previous one line patch. Also adds a test for the proxy_no=* case. -- Added file: http://bugs.python.org/file21134/proxy_bypass_osx_w_tests.diff

[issue11500] Fixes failing urllib2 proxy tests on OSX

2011-03-14 Thread Scott Wilson
Changes by Scott Wilson : -- nosy: +orsenthil -ronaldoussoren type: -> behavior ___ Python tracker <http://bugs.python.org/issue11500> ___ ___ Python-bugs-lis

[issue11500] Fixes failing urllib2 proxy tests on OSX

2011-03-14 Thread Scott Wilson
New submission from Scott Wilson : Fixes a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list. Tests that fail on os x without this patch: test_urllib2.HandlerTests.test_proxy_https test_urllib2.HandlerTests.test_proxy_https_proxy_authorization