[issue11500] Fixes failing urllib2 proxy tests on OSX
New submission from Scott Wilson scott.wil...@gmail.com: 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 Will create a separate issue to improve test coverage in this area. -- assignee: ronaldoussoren components: Macintosh files: proxy_bypass_osx.diff keywords: patch messages: 130841 nosy: ronaldoussoren, rswilson priority: normal severity: normal status: open title: Fixes failing urllib2 proxy tests on OSX versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file21120/proxy_bypass_osx.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11500 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11500] Fixes failing urllib2 proxy tests on OSX
Changes by Scott Wilson scott.wil...@gmail.com: -- nosy: +orsenthil -ronaldoussoren type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11500 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11500] Fixes failing urllib2 proxy tests on OSX
Scott Wilson scott.wil...@gmail.com 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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11500 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11511] Proposal for exposing proxy bypass settings in ProxyHandler
New submission from Scott Wilson scott.wil...@gmail.com: 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 ProxyHandler. An alternate solution to just fix the tests would be to monkeypatch urllib.request.proxy_bypass = urllib.request.proxy_bypass_environment in test_urllib2_localnet to avoid interference from mac/windows settings. -- components: Library (Lib) files: proxy_bypass_override.diff keywords: patch messages: 130919 nosy: orsenthil, rswilson priority: normal severity: normal status: open title: Proposal for exposing proxy bypass settings in ProxyHandler type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21148/proxy_bypass_override.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11511 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com