Message75908
> timedelta / <float or int> should be disallowed in true division mode.
I don't understand this; why should the division mode affect
division operations involving timedeltas at all? The meaning
of "/" is unaffected by the division mode for float/float or
float/int; why should timedeltas be any different?
I vote +1 for timedelta/timedelta and timedelta/float (regardless
of division mode). timedelta / timedelta is the one obvious way
to find out 'how many A's in B', and the one that it's natural
to try first, before looking for (timedelta -> float) conversion
methods. |
|
Date |
User |
Action |
Args |
2008-11-15 10:08:09 | mark.dickinson | set | recipients:
+ mark.dickinson, jribbens, amaury.forgeotdarc, belopolsky, vstinner, webograph |
2008-11-15 10:08:08 | mark.dickinson | set | messageid: <1226743688.74.0.0948911170249.issue2706@psf.upfronthosting.co.za> |
2008-11-15 10:08:07 | mark.dickinson | link | issue2706 messages |
2008-11-15 10:08:07 | mark.dickinson | create | |
|