消息 [139166]
> 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:57 | neologix | 修改 | 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:57 | neologix | 修改 | messageid: <1309085277.1.0.915737174713.issue12326@psf.upfronthosting.co.za> |
| 2011-06-26 10:47:56 | neologix | 链接 | issue12326 messages |
| 2011-06-26 10:47:56 | neologix | 创建 | |
|