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.54183e-05
Marked as misclassified No
Message-id <>
> 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.
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: <>
2011-06-20 15:22:25rosslagerwalllinkissue12326 messages
2011-06-20 15:22:25rosslagerwallcreate