This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients
Date 2001-09-22.17:33:41
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2007-08-23 13:56:29adminlinkissue463506 messages
2007-08-23 13:56:29admincreate