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 eric.araujo
Recipients brett.cannon, eric.araujo, tarek, westley.martinez
Date 2011-03-26.00:01:37
SpamBayes Score 0.0031847414
Marked as misclassified No
Message-id <1301097698.79.0.793572556365.issue11340@psf.upfronthosting.co.za>
In-reply-to
Content
In general, we prefer to test for the presence of a feature rather than hard-coding operating systems names.  when this is inevitable, we use sys.platform (say for different BSDs) or platform.linux_distribution (which returns meaningful values for most common distros).  I don’t know how to detect your OS :)

Could you open a feature request to add support for Arch in platform.linux_distribution in 3.3?
History
Date User Action Args
2011-03-26 00:01:38eric.araujosetrecipients: + eric.araujo, brett.cannon, tarek, westley.martinez
2011-03-26 00:01:38eric.araujosetmessageid: <1301097698.79.0.793572556365.issue11340@psf.upfronthosting.co.za>
2011-03-26 00:01:37eric.araujolinkissue11340 messages
2011-03-26 00:01:37eric.araujocreate