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 vstinner
Recipients neologix, vstinner
Date 2011-06-13.14:38:23
SpamBayes Score 0.00016956203
Marked as misclassified No
Message-id <1307975904.51.0.369737860423.issue12326@psf.upfronthosting.co.za>
In-reply-to
Content
Why should be used instead?
 - sys.platform.startswith('linux')
 - os.uname()[0] == 'Linux'
 - platform.system() == 'Linux'
 - other?

Tests like sys.platform in ('linux2', 'darwin') can be replaced by sys.platform in ('linux2', 'linux3', 'darwin'). We will have to patch this test again for Linux 4.
History
Date User Action Args
2011-06-13 14:38:24vstinnersetrecipients: + vstinner, neologix
2011-06-13 14:38:24vstinnersetmessageid: <1307975904.51.0.369737860423.issue12326@psf.upfronthosting.co.za>
2011-06-13 14:38:23vstinnerlinkissue12326 messages
2011-06-13 14:38:23vstinnercreate