[Python-Dev] == on object tests identity in 3.x - list delegation to members?

Nick Coghlan ncoghlan at gmail.com
Sun Jul 13 20:23:42 CEST 2014


On 13 July 2014 13:16, Chris Angelico <rosuav at gmail.com> wrote:
> On Mon, Jul 14, 2014 at 4:11 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>> What we've never figured out is a good place to *document* it. I
>> thought there was an open bug for that, but I can't find it right now.
>
> Yeah. The Py3 docs explain why "x in [x]" is True, but I haven't found
> a parallel explanation of sequence equality.

We might need to expand the tables of sequence operations to cover
equality and inequality checks - those are currently missing.

Cheers,
Nick.

>
> ChrisA
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com



-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list