Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
python3-doc.370
python-3.0-https_warn.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-3.0-https_warn.patch of Package python3-doc.370
Index: Lib/urllib/request.py =================================================================== --- Lib/urllib/request.py.orig +++ Lib/urllib/request.py @@ -2090,7 +2090,10 @@ def getproxies_environment(): for name, value in os.environ.items(): name = name.lower() 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