Message93797
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. |
|
Date |
User |
Action |
Args |
2009-10-09 14:40:25 | hodgestar | set | recipients:
+ hodgestar, zooko, amaury.forgeotdarc, pr0gg3d, aht |
2009-10-09 14:40:25 | hodgestar | set | messageid: <1255099225.2.0.892874267977.issue6280@psf.upfronthosting.co.za> |
2009-10-09 14:40:23 | hodgestar | link | issue6280 messages |
2009-10-09 14:40:23 | hodgestar | create | |
|