This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author p.lavarre@ieee.org
Recipients jafo, janssen, lemburg, p.lavarre@ieee.org
Date 2007-09-18.20:56:40
SpamBayes Score 0.024367249
Marked as misclassified No
Message-id <1190149000.55.0.400885176801.issue1082@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the cultural education of 2.5.1 isn't supposed to work, I 
didn't know that.

Also I'm glad to hear this is fixed for 2.5.2 already.

Sorry I'm too new & ignorant to understand why you believe this is 
fixed. I don't see that we already have a way to say things like:

if not platform.system('Linux'):

Do we have a way to say things like that?

My first Googles, tried here now at Mac OS X, give me useless 
suggestions like:

>>> platform.platform(aliased=True)
'Darwin-9.0.0b5-i386-32bit'
>>> platform.system_alias(platform.system(), platform.release(), 
platform.version())
('Darwin', '9.0.0b5', 'Darwin Kernel Version 9.0.0b5: Fri Aug 17 
17:24:24 PDT 2007; root:xnu-1182~1/RELEASE_I386')
>>> 

Practically speaking, I was getting by ok with:

if platform.system() != 'Windows':

Until that broke in Vista plus 2.5.1.
History
Date User Action Args
2007-09-18 20:56:40p.lavarre@ieee.orgsetspambayes_score: 0.0243672 -> 0.024367249
recipients: + p.lavarre@ieee.org, lemburg, jafo, janssen
2007-09-18 20:56:40p.lavarre@ieee.orgsetspambayes_score: 0.0243672 -> 0.0243672
messageid: <1190149000.55.0.400885176801.issue1082@psf.upfronthosting.co.za>
2007-09-18 20:56:40p.lavarre@ieee.orglinkissue1082 messages
2007-09-18 20:56:40p.lavarre@ieee.orgcreate