A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-March/098588.html below:

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

[Python-Dev] Decimal & amp; lt; -& amp; gt; float comparisons in py3k. [Python-Dev] Decimal & amp; lt; -& amp; gt; float comparisons in py3k.Greg Ewing greg.ewing at canterbury.ac.nz
Sat Mar 20 01:27:09 CET 2010
Antoine Pitrou wrote:

> We forbid comparisons when there is a real danger or ambiguity, such as unicode
> vs. bytes. There is no such danger or ambiguity when comparing a decimal with a
> float.

So do you think that float("0.1") and Decimal("0.1") should be
equal or not, and why?

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4