消息 [142769]
I think the doc patch should mention that:
1) it's 'linux2' also on Linux 3;
2) why it's not 'linux3';
The why can be done in a footnote and explain that Linux 3 doesn't introduce new major features and that changing the string to 'linux3' would have just broken needlessly code that was checking for sys.platform == 'linux2'.
It should probably also mention that in future versions (i.e. 3.3+) this string has been changed to be just 'linux' and that keep checking for sys.platform == 'linux2' is therefore discouraged even after this change. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2011-08-22 22:56:59 | ezio.melotti | 修改 | recipients:
+ ezio.melotti, lemburg, loewis, barry, georg.brandl, doko, amaury.forgeotdarc, gagern, foom, pitrou, vstinner, larry, benjamin.peterson, jwilk, djc, eric.araujo, Arfrever, r.david.murray, dmalcolm, sandro.tosi, rosslagerwall, python-dev, petri.lehtinen, Ramchandra Apte |
| 2011-08-22 22:56:59 | ezio.melotti | 修改 | messageid: <1314053819.36.0.0544047352885.issue12326@psf.upfronthosting.co.za> |
| 2011-08-22 22:56:58 | ezio.melotti | 链接 | issue12326 messages |
| 2011-08-22 22:56:58 | ezio.melotti | 创建 | |
|