[Python-Dev] time functions
Guido van Rossum
Tue, 16 Jan 2001 08:44:01 -0500
> thomas wrote:
> > - Making the time in time.strftime default to 'now', so that the above
> > becomes the ever so slightly confusing:
> > timestr = time.strftime("<format>")
> > (confusing because it looks a bit like a regexp constructor...)
> where "now" is local time, I assume?
> since you're assuming a time zone, you could make it accept
> an integer as well...
What would the integer mean?
> > - Making the time in time.asctime and time.ctime optional, defaulting to
> > 'now', so you can just call 'time.ctime()' without having to pass
> > time.time() (which are about half the calls in my own code :)
> same here.
Same what here? "now" == local time, sure. But accept an integer?
It already accepts an integer!
--Guido van Rossum (home page: http://www.python.org/~guido/)