[New-bugs-announce] [issue11398] http_proxy on windows won't function due to incorrect case handling

chris nojima report at bugs.python.org
Fri Mar 4 19:35:12 CET 2011


New submission from chris nojima <chrisnojima at gmail.com>:

There is an issue where on windows os.environ keys are all uppercase. If i run set a="hello", in python it will appear as a key "A". urllib.request.getproxies_environment looks for all _proxy environment vars by looking for "_proxy". Since windows uppercases, it's impossible to set this var (it will be HTTP_PROXY and won't match, etc).
This is stopping me from running some install scripts

----------
components: Library (Lib)
messages: 130067
nosy: chris.nojima
priority: normal
severity: normal
status: open
title: http_proxy on windows won't function due to incorrect case handling
type: behavior
versions: Python 3.1, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11398>
_______________________________________


More information about the New-bugs-announce mailing list