[Python-Dev] Decimal <-> float comparisons in py3k.

Mark Dickinson dickinsm at gmail.com
Tue Mar 16 17:23:30 CET 2010


On Tue, Mar 16, 2010 at 4:11 PM, Mark Dickinson <dickinsm at gmail.com> wrote:
[...]

>>>> Decimal.from_float(1.1) == 1.1
> False

Whoops.  To clarify, this is the pre-patch behaviour;  post-patch,
this gives True.

Mark


More information about the Python-Dev mailing list