消息 [120141]
Why does this need to be in stdlib?
AFAICT, the proposed patch is just:
if <appropriate test>:
wallclock = time.clock
else:
wallclock = time.time
which is easy enough to stick in your measuring code or a project's utilities module.
If others really want to see this in stdlib, I would prefer to place it in a more specialized module such as profile. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2010-11-01 17:12:07 | belopolsky | 修改 | recipients:
+ belopolsky, kristjan.jonsson, michael.foord |
| 2010-11-01 17:12:07 | belopolsky | 修改 | messageid: <1288631527.45.0.336530086946.issue10278@psf.upfronthosting.co.za> |
| 2010-11-01 17:12:05 | belopolsky | 链接 | issue10278 messages |
| 2010-11-01 17:12:05 | belopolsky | 创建 | |
|