Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
python3-doc
python-3.0-https_warn.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-3.0-https_warn.patch of Package python3-doc
--- Lib/urllib/request.py +++ Lib/urllib/request.py @@ -2110,7 +2110,10 @@ # handled in proxy_bypass_environment continue if value and name[-6:] == '_proxy': - proxies[name[:-6]] = value + if name == 'https_proxy': + warnings.warn ("urllib can't handle https proxies, your https_proxy setting will not work", RuntimeWarning, stacklevel=2) + else: + proxies[name[:-6]] = value return proxies def proxy_bypass_environment(host):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor