classification
Title: Proposal for exposing proxy bypass settings in ProxyHandler
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.3
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: orsenthil, rswilson
Priority: normal Keywords: patch

Created on 2011-03-14 22:08 by rswilson, last changed 2011-03-15 00:10 by r.david.murray.

Files
File name Uploaded Description Edit
proxy_bypass_override.diff rswilson, 2011-03-14 22:08
Messages (1)
msg130919 - (view) Author: Scott Wilson (rswilson) * Date: 2011-03-14 22:08
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.
History
Date User Action Args
2011-03-15 00:10:35r.david.murraysettype: behavior -> enhancement
stage: patch review
2011-03-14 22:08:13rswilsoncreate