Éric Araujo <mer...@netwok.org> added the comment: 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? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11340> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com