[issue2736] datetime needs and "epoch" method
STINNER Victor
report at bugs.python.org
Fri Dec 12 02:19:58 CET 2008
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
About mktime() -> -1: see the Issue1726687 (I found the fix in this
issue).
Next job will be to patch datetime.(utc)fromtimestamp() to support
(int, int). I tried to write such patch but it's not easy because
fromtimestamp() will support: int, long, float, (int, int), (int,
long), (long, int) and (long, long). And I don't know if a "long"
value can be converted to "time_t".
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2736>
_______________________________________
More information about the Python-bugs-list
mailing list