This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 ezio.melotti
收信人 Arfrever, Ramchandra Apte, amaury.forgeotdarc, barry, benjamin.peterson, djc, dmalcolm, doko, eric.araujo, ezio.melotti, foom, gagern, georg.brandl, jwilk, larry, lemburg, loewis, petri.lehtinen, pitrou, python-dev, r.david.murray, rosslagerwall, sandro.tosi, vstinner
日期 2011-08-22.22:56:58
SpamBayes Score 4.6337348e-08
Marked as misclassified
Message-id <1314053819.36.0.0544047352885.issue12326@psf.upfronthosting.co.za>
In-reply-to
内容
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:59ezio.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:59ezio.melotti修改messageid: <1314053819.36.0.0544047352885.issue12326@psf.upfronthosting.co.za>
2011-08-22 22:56:58ezio.melotti链接issue12326 messages
2011-08-22 22:56:58ezio.melotti创建