[Python-Dev] Hey! who changed sys.platform?!
Greg Ward
gward@python.net
Thu, 29 Jun 2000 23:53:34 -0400
On 29 June 2000, Fred L. Drake, Jr. said:
> I didn't know it ever returned linux-i386; perhaps you're thinking
> of Marc-Andre's platform module?
D'ohh! That appears to be an artifact of Red Hat's build -- I was using
/usr/bin/python (theirs), not /usr/local/bin/python (mine).
$ /usr/bin/python
Python 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> sys.platform
'linux-i386'
Sorry for getting alarmist. Guess I never should have started using
sys.platform in the first place (or just not worry about getting the CPU
in there too).
Greg
--
Greg Ward - geek gward@python.net
http://starship.python.net/~gward/
Support bacteria -- it's the only culture some people have!