[Python-Dev] float atime/mtime/ctime - a bad idea? (original) (raw)

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 stmtimef, stctimef, ...

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