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

Guido van Rossum guido@python.org
Wed, 16 Oct 2002 08:29:29 -0400


If you're suggesting a new API, why not have it return one of the new datetime objects ?

That would require much more changes to the user code to use the new feature. And in many cases a basic timestamp is just what you need -- all you usually do is comparing them, occasionally printing them, and both are done just as easily using the int or float form.

--Guido van Rossum (home page: http://www.python.org/~guido/)