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/2012-November/122613.html below:

[Python-Dev] Detecting tp_compare / tp_richcompare from Python

[Python-Dev] Detecting tp_compare / tp_richcompare from Python [Python-Dev] Detecting tp_compare / tp_richcompare from PythonTres Seaver tseaver at palladion.com
Thu Nov 8 18:55:47 CET 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/08/2012 12:38 PM, Guido van Rossum wrote:
> Well, the default behavior has changed to raise an exception when 
> using <, <=, >, >=; i.e., inequalities do not have a default 
> implementation at all. Perhaps that is enough for your purpose? ==
> and != still compare by pointer, but you're primarily interested in 
> ordering her, right?

The b-search algorithm needs ordering on keys, but also meaningful
(non-identity) equality.


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCb8iMACgkQ+gerLs4ltQ6WOACgwERmICWr80qnEoOVVLQtFwTH
ttAAnAt4An0dPjaRuZyJlDAUGzH0CS7B
=u2mG
-----END PGP SIGNATURE-----
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