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.

作者 gagern
收信人 Arfrever, Ramchandra Apte, amaury.forgeotdarc, barry, djc, dmalcolm, doko, eric.araujo, ezio.melotti, foom, gagern, jwilk, lemburg, loewis, petri.lehtinen, pitrou, python-dev, r.david.murray, rosslagerwall, sandro.tosi, vstinner
日期 2011-08-19.08:04:24
SpamBayes Score 1.3373281e-06
Marked as misclassified
Message-id <1313741066.06.0.139876530965.issue12326@psf.upfronthosting.co.za>
In-reply-to
内容
As people keep stating how easy the change from sys.platform == 'linux2' to sys.platform.startswith('linux') is, e.g. msg142385, please also keep in mind cases like someDict.get(sys.platform) where the comparison is implicit and therefore a simple change to startswith won't do the trick. Seen that in the wild.

Besides that, I can only wholeheartedly agree to the points so eloquently described by Martin v. Löwis and James Y Knight. Thanks!

Let's please force it to 'linux2' for the next 2.7 and 3.2 releases, so people can use recent kernels without breaking (or having to rewrite) third-party apps. Let's also encourage distros to do the same for older releases, perhaps even suggesting patches.
历史
日期 用户 动作 参数
2011-08-19 08:04:26gagern修改recipients: + gagern, lemburg, loewis, barry, doko, amaury.forgeotdarc, foom, pitrou, vstinner, jwilk, djc, ezio.melotti, eric.araujo, Arfrever, r.david.murray, dmalcolm, sandro.tosi, rosslagerwall, python-dev, petri.lehtinen, Ramchandra Apte
2011-08-19 08:04:26gagern修改messageid: <1313741066.06.0.139876530965.issue12326@psf.upfronthosting.co.za>
2011-08-19 08:04:25gagern链接issue12326 messages
2011-08-19 08:04:24gagern创建