Environment inheritance under Windows NT 4, Attempt 2
Milton L. Hankins
mlh at swl.msd.ray.com
Thu Jun 24 16:34:36 EDT 1999
I suppose this could be a side-effect of the way our IT department sets up
NT. But I shudder to think how or what really causes it.
On Thu, 24 Jun 1999, Darrell wrote:
> Works fine for me.
> Use the same case for the python version.
> > C:\>python -c "import os; print os.environ['WINDIR']"
Thanks for the response. Unfortunately, this doesn't help. :( I tried
exact, all upper, and all lower case to the same result.
I've developed a workaround for posixmodule which uses getenv() under
Windows instead of direct access to environ. It works great. I had
really hoped others experienced this problem. Sigh. I will send my patch
to Guido anyway. Maybe it will be deemed worthy.
Fingers crossed...
--
Milton L. Hankins \\ ><> Ezekiel 18:21 ><>
Software Engineer, Raytheon Systems Company // <mlh at swl.msd.ray.com>
http://amasts.msd.ray.com/~mlh \\ RayComNet 7-225-4728
More information about the Python-list
mailing list