A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-January/011696.html below:

[Python-Dev] time functions

[Python-Dev] time functions [Python-Dev] time functionsEric S. Raymond esr@thyrsus.com
Mon, 15 Jan 2001 20:26:14 -0500
Thomas Wouters <thomas@xs4all.net>:
> Actually, I'll split it up in three proposals:
> 
> - 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...)
> 
> - 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 :)
> 
> - Making the time in time.localtime and time.gmtime default to 'now'.
> 
> I'm 0/+1/+1 myself :)

Likewise.
-- 
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

Never trust a man who praises compassion while pointing a gun at you.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4