[issue6280] calendar.timegm() belongs in time module, next to time.gmtime()
Alexander Belopolsky
report at bugs.python.org
Mon Jun 14 21:06:10 CEST 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
I reverted r81988 in r81989. Some code may rely on timegm() accepting float in tm_sec. See http2time in Lib/http/cookiejar.py.
It is very easy to modify implementation to accept float seconds, but old implementation accidentally work for float hours and minutes as well.
----------
versions: -Python 2.7
Added file: http://bugs.python.org/file17669/issue6280-calendar-2.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6280>
_______________________________________
More information about the Python-bugs-list
mailing list