Message6628
Logged In: YES
user_id=6380
The reason is trivial. reload(os) doesn't magically cause
reload(nt), and it's the nt module (whose source is
posixmodule.c) that computes the 'environ' dictionary. I
betcha a dollar that if you reload(nt) and then reload(os),
the environment is fixed. But why would you want to do
that? Changing os.environ should automatically call
_putenv(); if it doesn't, submit a separate bug report.
The MS docs are trying to explain that the environment
semantics are the same as in Unix (you can't change your
shell's environment, but child processes do inherit yours).
In my experience envars work fine in Windows.
|
|
Date |
User |
Action |
Args |
2007-08-23 13:56:29 | admin | link | issue463506 messages |
2007-08-23 13:56:29 | admin | create | |
|