On Apr 7, 9:57 am, Chris Withers <ch...@simplistix.co.uk> wrote:
> Chris Rebert wrote:
> > To convert from struct_time in ***UTC***
> > to seconds since the epoch
> > use calendar.timegm()
>
> ...and really, wtf is timegm doing in calendar rather than in time? ;-)

You're not alone in finding this strange: http://bugs.python.org/issue6280

(the short apologetic reason is that timegm is written in python
rather the C)

Regards
Floris
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to