[Python-Dev] float atime/mtime/ctime - a bad idea?

Martin v. Loewis martin@v.loewis.de
18 Oct 2002 08:37:45 +0200


Skip Montanaro <skip@pobox.com> writes:
> Martin> The previous suggestion was st_mtimef, st_ctimef, ...
>> Why not simply provide an alternative method, os.fstat()?

Because os.fstat already exists, and also has the option of either
returning floating point time stamps or integer time stamps - just
like os.stat and os.lstat.
Regards,
Martin

AltStyle によって変換されたページ (->オリジナル) /