http proxy overriding problem / env var problem on the other OS

Thomas Arendsen Hein thomas at intevation.de
Sat Aug 6 06:51:21 CDT 2005


* Edouard Gomez <ed.gomez at free.fr> [20050802 14:13]:
> Seems like environment vars in the other OS are also case insensitive, and for
> the proxy env var handling, this raises an exception. Due to my python
> newbiness, i could not fix the bug.

I can't reproduce this with:

>>> sys.version
'2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)]'
>>> sys.getwindowsversion()
(5, 0, 2195, 2, 'Service Pack 4')

It seems to be fully case insensitive, so it doesn't matter if I do
del os.environment['foo'] or ..['Foo'] or ..['FOO']
everything works.

Which python version are you using?

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/


More information about the Mercurial mailing list