[Python-Dev] Re: [Patches] PC\config.[hc] changes for Win64
Tue, 9 May 2000 08:15:17 +1000
> What if someone needs to do something in Python code for either Win32 or
> Win64 but not both? Or should this never be necessary (not
> likely). I would
> like Mark H's opinion on this stuff.
I have always thought that it _would_ move to "win64", and the official way
of checking for "Windows" will be sys.platform[:3]=="win".
In fact, Ive noticed Guido use this idiom (both stand-alone, and as :if
sys.platform[:3] in ["win", "mac"])
It will no doubt cause a bit of pain, but IMO it is cleaner...