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

Reply via email to