Message80702
Apologies for the poor formatting in the last comment. Bad
cut-and-paste job.
One more reason:
(4) "In the face of ambiguity, refuse the temptation to guess."
Why should round(int, int) be float, rather than Decimal, or Fraction?
This was the one argument against the integer division change that I
found somewhat compelling. But of course there's a big difference: 1/2
had to have *some* type, and it couldn't be an integer. In contrast,
given that round(34, n) is always integral, there's an obvious choice
for the return type.
I'll shut up now. |
|
Date |
User |
Action |
Args |
2009-01-28 09:40:21 | mark.dickinson | set | recipients:
+ mark.dickinson, gvanrossum, loewis, rhettinger, orsenthil, vstinner, giampaolo.rodola, ajaksu2, jyasskin, LambertDW, dingo |
2009-01-28 09:40:20 | mark.dickinson | set | messageid: <1233135620.89.0.721414195636.issue4707@psf.upfronthosting.co.za> |
2009-01-28 09:40:19 | mark.dickinson | link | issue4707 messages |
2009-01-28 09:40:19 | mark.dickinson | create | |
|