[Distutils] small improvement of the script functionality under win32

Trent Mick trentm at ActiveState.com
Wed Mar 30 23:28:23 CEST 2005


[Vivian De Smedt wrote]
> Could we say that if:
> 
>     os.environ["os"] == "Windows_NT"
> 
> the patch improve the existing situation?

I didn't really read the patch, so I can't give an opinion, but there is
no standard OS environment variable on, e.g. Win98, so that would (at
the least) have to be:

    os.environ.get("OS") == "Windows_NT"

Still, as I said, the differentiate is more proper on what shell is
being used.

Trent

-- 
Trent Mick
TrentM at ActiveState.com


More information about the Distutils-SIG mailing list