[PythonCE] error in function time.mktime
s3010096 at kmitl.ac.th
s3010096 at kmitl.ac.th
Fri Feb 27 17:54:35 EST 2004
>Yes datetime is definetly not there and the time module probably is
recycled from an
>older version. If I get around to it I will try to get them in but don't
count on it...
-----------------------------------
I found an error in function time.mktime()
Python 2.3.2 (#0, Dec 11 2003, 12:46:49) [MSC v.1200 32 bit (Unknown)] on
Pocket PC
>>> import time
>>> clock=time.clock()
>>> local=time.localtime(clock)
>>> local
(2004, 2, 27, 10, 14, 41, 4, -1, -1)
>>> mktime=time.mktime(local)
Traceback (most recent call last):
File "\Program Files\Python\lib\pcceshell.py", line 480, in Interact
exec codeOb in locals
OverflowError: mktime argument out of range
>>>
More information about the PythonCE
mailing list