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.

作者 neologix
收信人 Arfrever, amaury.forgeotdarc, eric.araujo, ezio.melotti, jwilk, lemburg, loewis, neologix, petri.lehtinen, pitrou, r.david.murray, rosslagerwall, vstinner
日期 2011-06-26.10:47:56
SpamBayes Score 1.5560875e-08
Marked as misclassified
Message-id <1309085277.1.0.915737174713.issue12326@psf.upfronthosting.co.za>
In-reply-to
内容
> So people who say sys.platform shouldn't be used: what do you propose
> to do with Lib/plat-linux2 (or, more generally, Lib/plat-*)?

I can't speak, as I've never used those.
But can't those directories be renamed to Lib/plat-<platform.system()>?

As for the performance overhead, since the platform module caches the result of uname or other function/subprocess calls, I don't think it's a showstopper. Furthermore, I somehow doubt those functions are performance bottlenecks anyway.

Since Linux 3 is in RC now, is there a chance to reach a consensus in the near future?
历史
日期 用户 动作 参数
2011-06-26 10:47:57neologix修改recipients: + neologix, lemburg, loewis, amaury.forgeotdarc, pitrou, vstinner, jwilk, ezio.melotti, eric.araujo, Arfrever, r.david.murray, rosslagerwall, petri.lehtinen
2011-06-26 10:47:57neologix修改messageid: <1309085277.1.0.915737174713.issue12326@psf.upfronthosting.co.za>
2011-06-26 10:47:56neologix链接issue12326 messages
2011-06-26 10:47:56neologix创建