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/2001-May/014823.html below:

[Python-Dev] Comparison speed

[Python-Dev] Comparison speed [Python-Dev] Comparison speedTim Peters tim.one@home.com
Wed, 16 May 2001 03:25:28 -0400
[Guido]
> PEP 207 is quite explicit that == and != are not to be assumed each
> other's complement.  It is silent on the x==x issue but the PEP
> mentions IEEE 754 so I agree that this also shouldn't be cut short.

It's explicit about x==x too:

    (Note: Python currently assumes that x==x is always true
    and x!=x is never true; this should not be assumed.)

That's from the end of point #4, under "Proposed Resolutions".  I agreed
then, and still do <wink>.




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