webograph <[EMAIL PROTECTED]> added the comment:
this is the mentioned patch without the function pointers, in case it
better fits the python coding style.
Added file:
http://bugs.python.org/file10946/datetime_datetime_division_dupcode.patch
___
New submission from webograph <[EMAIL PROTECTED]>:
i suggest that division be defined for timedelta1/timedelta2, in that
sense that it gives how many times timedelta2 fits in timedelta1 (ie the
usual meaning of division), using integer arithmetics for floor division
(//) and returning flo
Changes by webograph <[EMAIL PROTECTED]>:
--
nosy: +webograph
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1083>
___
___
Python
webograph added the comment:
i don't think this can be solved in a way that is independent of the
chosen unit, as it requires a concept of "whole time-units" (as in
"whole numbers"); whether these be seconds or minutes would be
completely arbitrary.
(`5 minutes % 3 =