On Tue, Mar 16, 2010 at 4:18 PM, Victor Stinner <victor.stin...@haypocalc.com> wrote: > If comparaison of Decimal and float can have "unpredictable" result, I would > suggest the same behaviour (raise an error).
Well, it's not really `unpredictable': the new behaviour is perfectly predictable and sane, provided only that you remember the basic fact that float("0.1") is not exactly 0.1. Mark _______________________________________________ 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