From: <bc...@wo...> - 2000-12-20 13:51:05
|
[Barry Haddow] >Is the following behaviour correct? > >Jython 2.0alpha1 on java1.2.2 (JIT: javacomp) >Type "copyright", "credits" or "license" for more information. >>>> from time import * >>>> secs = 977232600L >>>> ctime(secs) >Traceback (innermost last): > File "<console>", line 1, in ? >TypeError: ctime(): 1st arg can't be coerced to double >>>> ctime(float(secs)) >'Tue Dec 19 13:30:00 2000' No, it is a bug. I just checked in a patch. Thanks for the bug report. regards, finn |