Author belopolsky
Recipients belopolsky, exarkun, lemburg, madison.may, mark.dickinson, pitrou
Date 2013-08-03.16:32:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375547530.36.0.773109260979.issue18629@psf.upfronthosting.co.za>
In-reply-to
Content
What is so special about seconds?  Why not days? As in

>>> timedelta(3) // 2
timedelta(1)


Note that in 3.x we have timedelta over timedelta division that lets you do floor division in arbitrary time units.

What is the use case for timedelta // int that rounds down to a second?  I suspect in most cases you really want timedelta // timedelta(seconds=int) instead.
History
Date User Action Args
2013-08-03 16:32:10belopolskysetrecipients: + belopolsky, lemburg, exarkun, mark.dickinson, pitrou, madison.may
2013-08-03 16:32:10belopolskysetmessageid: <1375547530.36.0.773109260979.issue18629@psf.upfronthosting.co.za>
2013-08-03 16:32:10belopolskylinkissue18629 messages
2013-08-03 16:32:10belopolskycreate