Author rosslagerwall
Recipients Arfrever, amaury.forgeotdarc, ezio.melotti, haypo, jwilk, lemburg, loewis, merwok, neologix, pitrou, rosslagerwall
Date 2011-06-20.15:22:25
SpamBayes Score 1.54183e-05
Marked as misclassified No
Message-id <1308583345.84.0.39287057122.issue12326@psf.upfronthosting.co.za>
In-reply-to
Content
> That's exactly my point.
> Code checking sys.platform against 'linux2' is already broken, there's
> no point in complicating the code further, or adding a new constant.
> If you want to check for a specific operating system, there's already
> platform.system().

I would agree with this. Perhaps the documentation for sys.platform could be changed to mention that platform.system() should maybe be used instead.
History
Date User Action Args
2011-06-20 15:22:25rosslagerwallsetrecipients: + rosslagerwall, lemburg, loewis, amaury.forgeotdarc, pitrou, haypo, jwilk, ezio.melotti, merwok, Arfrever, neologix
2011-06-20 15:22:25rosslagerwallsetmessageid: <1308583345.84.0.39287057122.issue12326@psf.upfronthosting.co.za>
2011-06-20 15:22:25rosslagerwalllinkissue12326 messages
2011-06-20 15:22:25rosslagerwallcreate