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/2014-July/135353.html below:

[Python-Dev] == on object tests identity in 3.x

[Python-Dev] == on object tests identity in 3.x [Python-Dev] == on object tests identity in 3.xEthan Furman ethan at stoneleaf.us
Tue Jul 8 01:52:17 CEST 2014
On 07/07/2014 04:49 PM, Benjamin Peterson wrote:
>
> Probably the best argument for the behavior is that "x is y" should
> imply "x == y", which preludes raising an exception. No such invariant
> is desired for ordering, so default implementations of < and > are not
> provided in Python 3.

Nice.  This bit should definitely make it into the doc patch if not already in the docs.

--
~Ethan~
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