A use for integer quotients
Tom Jenkins
tjenkins at nospiced.ham.devis.com
Wed Jul 25 10:02:50 EDT 2001
Guido van Rossum wrote:
[snip]
>
> Well, so far the only arguments I've heard come down to
>
> (1) int/int *ought* to return an int;
>
[snip]
> Attempts to convince the proponents of (1) seem useless -- otherwise
> this thread wouldn't last so long -- so I won't repeat the
> explanation. Let me add that it has nothing to do with teaching
> Python to newbies -- the problem is a fundamental design bug.
> (Ironically, it dates back to the day, probably in 1991, that Tim
> Peters convinced me that int+float should automatically coerce the int
AH! So its TIM PETER'S fault. He's a witch! Burn him! Burn him! He
changed me into a newt.
well-i-got-better-ly yours
Tom
More information about the Python-list
mailing list