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/2007-August/074064.html below:

[Python-Dev] NotImplemented comparisons

[Python-Dev] NotImplemented comparisons [Python-Dev] NotImplemented comparisonsFacundo Batista facundobatista at gmail.com
Thu Aug 2 21:14:37 CEST 2007
2007/8/2, Guido van Rossum <guido at python.org>:

> NonImplemented isn't treated as special when returned by __cmp__();
> __cmp__ is not considered a binary operator like __add__. (__lt__ and
> friends *do* get treated as such -- but instead of __rlt__ we use
> __gt__, etc.)

I understand that is tricky how NotImplemented and comparisons interact.

But how do you explain the difference in behaviour between Linux and Windows?

Thanks!

--
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
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