[Python-ideas] Automatic comparisons by default

Benjamin Peterson benjamin at python.org
Wed Mar 16 02:00:12 CET 2011


Guido van Rossum <guido at ...> writes:

> 
> On Tue, Mar 15, 2011 at 11:03 AM, Facundo Batista
> <facundobatista at ...> wrote:
> > Two very related proposals:
> >
> > 1. On "!=", if Python doesn't find __ne__, use "not __eq__()".

Isn't this implemented in Python 3?







More information about the Python-ideas mailing list