[issue11340] test_distutils fails

Éric Araujo report at bugs.python.org
Sat Mar 26 01:01:38 CET 2011


Éric Araujo <merwok at 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 <report at bugs.python.org>
<http://bugs.python.org/issue11340>
_______________________________________


More information about the Python-bugs-list mailing list