Author jribbens
Recipients amaury.forgeotdarc, belopolsky, brett.cannon, catlee, erik.stephens, guettli, haypo, jribbens, lemburg, pitrou, skip.montanaro, srittau, steve.roberts, tim_one, tomster
Date 2008-12-15.14:58:39
SpamBayes Score 3.70512e-05
Marked as misclassified No
Message-id <1229353121.07.0.325062646201.issue1673409@psf.upfronthosting.co.za>
In-reply-to
Content
> A timedelta.toseconds method (or equivalent) makes no sense.
> The number of seconds in a day is not fixed (due to leap seconds) and
> relying on such a method would introduce subtle bugs.

You are misunderstanding what timedelta is. It is a fixed-length period
of time. It is stored as a number of (24x3600-second) days, seconds and
microseconds. There is no "start date" or "end date", so the concept of
leap seconds just does not apply.
History
Date User Action Args
2008-12-15 14:58:41jribbenssetrecipients: + jribbens, lemburg, tim_one, skip.montanaro, brett.cannon, srittau, guettli, amaury.forgeotdarc, belopolsky, pitrou, catlee, haypo, tomster, erik.stephens, steve.roberts
2008-12-15 14:58:41jribbenssetmessageid: <1229353121.07.0.325062646201.issue1673409@psf.upfronthosting.co.za>
2008-12-15 14:58:40jribbenslinkissue1673409 messages
2008-12-15 14:58:39jribbenscreate