[Pythonmac-SIG] Numeric Problem & Carbon Problem
Larry Meyn
lmeyn@mail.arc.nasa.gov
Thu, 13 Dec 2001 11:40:21 -0800
At 2:00 PM -0500 12/13/01, Marcelinus Prastawa wrote:
>This may not help at all...
>
>Could you check the value returned by time()?
>import time
>time.time()
>
>Marcel
>
>
>_______________________________________________
>Pythonmac-SIG maillist - Pythonmac-SIG@python.org
>http://mail.python.org/mailman/listinfo/pythonmac-sig
I think you hit upon the cause of the Numeric problem. MacPython 2.2b2 is returning a negative time. Outputs of your test for 2.2.2 and 2.2b2 are given below.
Python 2.1.1 (#97, Aug 2 2001, 21:56:33) [CW CARBON GUSI2 THREADS] on mac
Type "copyright", "credits" or "license" for more information.
>>> import time
>>> time.time()
3091088189.0
Python 2.2b2 (#116, Nov 27 2001, 23:37:30) [CW PPC GUSI2 THREADS GC] on mac
Type "copyright", "credits" or "license" for more information.
>>> import time
>>> time.time()
-1203879081.0
--
----------------------------------------------------------------------
Larry Meyn
Aerospace Operations Modeling Office
M/S 210-10 Phone: (650) 604-5038
NASA Ames Research Center FAX: (650) 604-0222
Moffett Field, CA 94035-1000 email: lmeyn@mail.arc.nasa.gov
E-FAX: (425) 944-5526 sent via e-mail
----------------------------------------------------------------------