del on os.environ?

Chris Gonnerman chris.gonnerman at newcenturycomputers.net
Wed Sep 12 00:37:56 EDT 2001


I just submitted patch #460805 to add os.unsetenv() support.
Since unsetenv isn't standard, os.py operates in the "legacy"
mode when unsetenv isn't available.

----- Original Message ----- 
From: "Alex Martelli" <aleax at aleax.it>


> Given the unfortunate nonstandard status of unsetenv,
> I think [at least some of] the popen* calls should
> probably accept an optional argument to let you control
> the environment of the child process.  Maybe you can
> submit it to sourceforce as a small feature request...
> in the meantime, I think you may need to dig into
> win32all to implement your own "popen with child
> environment control":-(






More information about the Python-list mailing list