Message 103637 - Python tracker (original) (raw)
Hmm. Having timedelta // int work is really peculiar, since it can only be made sense of with reference to some implicit particular chosen unit of time; in this case, that unit of time is apparently microseconds, as far as I can tell.
Surely there aren't any applications for timedelta // int?! The operation just doesn't make dimensional sense, since it involves taking floor of a timedelta.
I vote -3.2 minutes on extending this craziness by adding timedelta % int or divmod(timedelta, int).