Alexander Belopolsky added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18629>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to