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):