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.

Author hodgestar
Recipients aht, amaury.forgeotdarc, hodgestar, pr0gg3d, zooko
Date 2009-10-09.14:40:22
SpamBayes Score 1.6468706e-05
Marked as misclassified No
Message-id <1255099225.2.0.892874267977.issue6280@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-10-09 14:40:25hodgestarsetrecipients: + hodgestar, zooko, amaury.forgeotdarc, pr0gg3d, aht
2009-10-09 14:40:25hodgestarsetmessageid: <1255099225.2.0.892874267977.issue6280@psf.upfronthosting.co.za>
2009-10-09 14:40:23hodgestarlinkissue6280 messages
2009-10-09 14:40:23hodgestarcreate