Message 98215 - Python tracker (original) (raw)

So here's the plan for trunk. The big question is: what should be done for py3k?

For trunk:

For py3k, the obvious options are:

(A) adopt the above changes, or

(B) keep Decimal and float non-comparable (as currently). In this case, a Decimal-to-float comparison in trunk should probably raise a DeprecationWarning. (Note that DeprecationWarnings are now silent by default, so such a warning wouldn't impact end-users much.)