A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-May/004004.html below:

[Patches] PC\config.[hc] changes for Win64

[Python-Dev] Re: [Patches] PC\config.[hc] changes for Win64 [Python-Dev] Re: [Patches] PC\config.[hc] changes for Win64Mark Hammond mhammond@skippinet.com.au
Tue, 9 May 2000 08:15:17 +1000
[Trent]
> 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.

OK :-)

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...

Mark.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4