PEP0238 lament

Rainer Deyke root at
Sun Jul 22 23:56:09 EDT 2001

"Tim Peters" < at> wrote in message
news:mailman.995848124.9087.python-list at
> [David Eppstein]
> > My intuition is that the users who will be surprised that 1/2 = 0 are
> > the same ones who would be bitten by roundoff-error bugs if 1/2 = 0.5.
> Anyone using floats will get bitten eventually; ditto anyone using
> rationals, for that matter.  This is a "lesser of evils" thing more than a
> "good vs evil" thing.

"Good" would be a language without built-in support for non-integer numbers,
and therefore no source of confusion.  Those who really need them could use
an extension module.

Rainer Deyke (root at
Shareware computer games           - 
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor

More information about the Python-list mailing list