消息 [93797]
The attached patch adds a simple implementation of time.timegm that
calls calendar.timegm. It includes a short test to show that
time.timegm(time.gmtime(ts)) == ts for various timestamps.
I implemented a pure C version by pulling in the various functions
needed from datetime, but it was a bit messy and a lot more invasive.
Documentation updates are still needed -- I will do those if there is
support for the patch. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2009-10-09 14:40:25 | hodgestar | 修改 | recipients:
+ hodgestar, zooko, amaury.forgeotdarc, pr0gg3d, aht |
| 2009-10-09 14:40:25 | hodgestar | 修改 | messageid: <1255099225.2.0.892874267977.issue6280@psf.upfronthosting.co.za> |
| 2009-10-09 14:40:23 | hodgestar | 链接 | issue6280 messages |
| 2009-10-09 14:40:23 | hodgestar | 创建 | |
|