FixedPoint

Brian Quinlan brian at sweetapp.com
Fri Feb 8 00:47:57 EST 2002


Tim Peters wrote:
> Note that I said "non-numeric object".  FixedPoint supports a rich set
of
> auto-coercions from types that "make sense".  I'm not a fan of
> semantically senseless comparisons, e.g.
> 
> >>> 5 < '5'
> 1
> >>>

Even if you disagree with that example, I would argue that equivalence
is a special case. If you cannot convert a => b in a meaningful way then
a != b.

Cheers,
Brian





More information about the Python-list mailing list