[Python-ideas] Automatic comparisons by default

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 16 10:41:16 CET 2011


Raymond Hettinger wrote:

> I think we gave this up when rich comparisons were accepted into the language.

I don't understand that argument. An object that wants to
can always override all six methods and do whatever it wants.
There's no reason that a sensible system of defaults needs
to interfere with that.

-- 
Greg



More information about the Python-ideas mailing list