Problems with time on Macintosh

Guido van Rossum (Guido.van.Rossum@cwi.nl)
Fri, 03 Dec 1993 16:47:38 +0100

[There was some trouble with the list, for which I apologize; this is
a manual resend of the original message --Guido]

The time module seems to have a few problems on Mac, returning dates like 1927
for time.localtime(time.time()) The behaviour looks to me as if the Mac
returns an unsigned int for the system time which Python tries to use as a
signed int. Unfortunately I am not enough of a C programmer to take a look in
the source and offer a fix (not much of Python programmer either yet).
time.gmtime returns total rubbish; probably deterministic but I haven't tried to
figure it out.

My apologies if these are known problems, I've only been aware of Python for a
few weeks.

Mike

Mike Causer, Setanta Technology, Cambridge UK & Utrecht NL.