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/2002-February/020410.html below:

add basic time type to the standard library

[Python-Dev] proposal: add basic time type to the standard library [Python-Dev] proposal: add basic time type to the standard libraryGuido van Rossum guido@python.org
Tue, 26 Feb 2002 17:06:14 -0500
> FWIW, mxDateTime exposes these values as attributes -- there
> is no call overhead.

Good, I think this is the way to go.  (Of course there will be some
C-level call overhead if we make these properties.)

> > Serious question: what do you tend to do with time values?  I imagine
> > that once we change strftime() to accept an abstract time object,
> > you'll never need to call either timetuple() or year() -- strftime()
> > will do it for you.
> 
> Depends on the application space. Database applications
> will call .timetuple() very often and use strftime() hardly
> ever.

What does a database app with the resulting tuple?

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



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