Message132186
| 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: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 |
|