[Python-Dev] Subsecond time stamps

Martin v. Loewis martin@v.loewis.de
07 Sep 2002 09:35:26 +0200


Guido van Rossum <guido@python.org> writes:

> Hm, so maybe new field names is still the way to go.  E.g. st_mtime
> gives an int, st_mtimef gives a float.  The tuple version only gives
> the int.  If the system doesn't support subsecond resolution, the
> st_mtimef field still exists but is an int (no point allocating a
> float and converting the int).

OTOH, I just found that the time values are already floats on the
Mac. Did the change in return value for time.time() cause any problems
at the time it was made?

Regards,
Martin