[Python-ideas] Please reconsider the Boolean evaluation of midnight

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 6 06:34:49 CET 2014


M.-A. Lemburg wrote:
> Well, the duration between the start of day and midnight is zero
> and returning to the interpretation of time of day being a measurement
> relative to midnight,

The point of having time objects as an abstraction is
so that you *don't* have to think of them as an offset
from anything. You simply think of them as times.

-- 
Greg


More information about the Python-ideas mailing list