[New-bugs-announce] [issue11511] Proposal for exposing proxy bypass settings in ProxyHandler

Scott Wilson report at bugs.python.org
Mon Mar 14 23:08:14 CET 2011

New submission from Scott Wilson <scott.wilson at 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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list