[Python-Dev] Mac OS X sys.platform value

Jack Jansen jack@oratrix.nl
Wed, 05 Dec 2001 16:59:39 +0100


Folks,
Apple "wisely" changed their uname version numbering scheme with a 
micro-release (10.1.1). Of course, nobody cares about this, except Python, 
which stuffs the version into sys.platform, from where it is used by a 
gazillion things.

Anyway, where sys.platform used to be "darwin1" upto and including 10.1.0 it 
is now "darwin5" for 10.1.1 (and it will go up to "darwin6" for 10.2, etc).

I am of a mind to take the "1" out of sys.platform, so that it becomes 
"darwin".

Good idea or not?
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.cwi.nl/~jack        | ++++ see http://www.xs4all.nl/~tank/ ++++