Author belopolsky
Recipients Amber.Yust, Andreas.Pelme, Lakin.Wecker, belopolsky, cvrebert, dstufft, eric.araujo, georg.brandl, gwrtheyrn, lemburg, ncoghlan, r.david.murray, shai, tim.peters, yselivanov
Date 2014-03-06.02:30:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394073025.34.0.0145400766665.issue13936@psf.upfronthosting.co.za>
In-reply-to
Content
> If Midnight is considered the last moment of the day then it
> evaluating to false makes even less sense since the rationale
> given is "time is seconds since midnight".

You are erecting a straw-man.  Python clearly considers time(0) to be the first moment of the day, not the last:

>>> time(0) < time(1)
True

It is my application that makes the opposite choice.  Helpfully, boolean property of time(0) makes it easy to write code that treats midnight as a special case.
History
Date User Action Args
2014-03-06 02:30:25belopolskysetrecipients: + belopolsky, lemburg, tim.peters, georg.brandl, ncoghlan, eric.araujo, r.david.murray, cvrebert, gwrtheyrn, Lakin.Wecker, yselivanov, shai, dstufft, Andreas.Pelme, Amber.Yust
2014-03-06 02:30:25belopolskysetmessageid: <1394073025.34.0.0145400766665.issue13936@psf.upfronthosting.co.za>
2014-03-06 02:30:25belopolskylinkissue13936 messages
2014-03-06 02:30:25belopolskycreate