A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-March/043199.html below:

[Python-Dev] A proposal has surfaced on comp.lang.pythontoredefine "is"

[Python-Dev] A proposal has surfaced on comp.lang.pythontoredefine "is" [Python-Dev] A proposal has surfaced on comp.lang.pythontoredefine "is"Skip Montanaro skip at pobox.com
Wed Mar 17 20:41:32 EST 2004
    Andrew> Consider:

    Andrew>     a = []
    Andrew>     b = []
    Andrew>     x = (a, b)
    Andrew>     y = (a, b)

    Andrew> Can you think of a program that can make productive use of the
    Andrew> value of "x is y"?  It seems to me that x and y are mutually
    Andrew> substitutable.

Is "mutually substitutable" a fancy way of saying "equal"?  In other words,
why would "x is y" be preferred over "x == y"?

Skip


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