[ python-Bugs-1245224 ] Time module is missing inverse of gmtime()

SourceForge.net noreply at sourceforge.net
Tue Jul 26 15:04:54 CEST 2005


Bugs item #1245224, was opened at 2005-07-26 09:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1245224&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeremy Fincher (jemfinch)
Assigned to: Nobody/Anonymous (nobody)
Summary: Time module is missing inverse of gmtime()

Initial Comment:
The time module has the inverse function of localtime() in its mktime
() function, but is missing the inverse of gmtime().

After a bit of searching, I found the calendar module function timegm
(), which claims to be the inverse of gmtime().

Is there any reason the time module shouldn't provide the inverse of 
gmtime()?  It's obviously needed, as the calendar module has a 
version for its own use since the time module doesn't provide one.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1245224&group_id=5470


More information about the Python-bugs-list mailing list