On 3/19/2010 3:16 PM, Glenn Linderman wrote:

I perceive that the whole thread is about _all_ comparison operators with
one float and one decimal operand currently producing an exception (3.x)

Not true for equality comparison. That returns False regardless of value, just as order comparisons return what they do in 2.x regardless of value. I claim that the former is at least as bad as the latter for numbers.

or a type-based ordering (2.x).

3.x mixes type-based and value-based equality testing for Decimals and other numbers.

Terry Jan Reedy

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to