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 rosslagerwall
Recipients Arfrever, amaury.forgeotdarc, eric.araujo, ezio.melotti, jwilk, lemburg, loewis, neologix, pitrou, rosslagerwall, vstinner
Date 2011-06-20.15:22:25
SpamBayes Score 1.541828e-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, vstinner, jwilk, ezio.melotti, eric.araujo, 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