Message132186
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? |
|
Date |
User |
Action |
Args |
2011-03-26 00:01:38 | eric.araujo | set | recipients:
+ eric.araujo, brett.cannon, tarek, westley.martinez |
2011-03-26 00:01:38 | eric.araujo | set | messageid: <1301097698.79.0.793572556365.issue11340@psf.upfronthosting.co.za> |
2011-03-26 00:01:37 | eric.araujo | link | issue11340 messages |
2011-03-26 00:01:37 | eric.araujo | create | |
|