[Python-Dev] Decimal & amp; lt; -& amp; gt; float comparisons in py3k.

Nick Coghlan ncoghlan at gmail.com
Sun Mar 21 02:17:09 CET 2010

Glenn Linderman wrote:
> Thanks, though for the nice chart from an internals guy, you confirmed
> all that I thought I knew about how this presently works, from PEP and
> manual reading, a bit of experimentation, and the discussions here.

I'll confess to a bit of interpreter prompt experimentation to confirm
the behaviour, especially in the relation to Fractions - I didn't know
all of that off the top of my head. The implicit coercion from Fraction
-> float definitely surprised me a bit.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list