On Mon, May 6, 2013 at 11:26 PM, Antoine Pitrou <solip...@pitrou.net> wrote:
> Le Mon, 6 May 2013 23:18:54 +1000,
> Nick Coghlan <ncogh...@gmail.com> a écrit :
>> We're not going to change the language design because people don't
>> understand the difference between "is" and "==" and then wrongly blame
>> PyPy for breaking their code.
>
> Well, if I'm doing:
>
>   mylist = [x]
>
> and ``mylist[0] is x`` returns False, then I pretty much consider the
> Python implementation to be broken, not my code :-)

Yeah, that's a rather good point - I briefly forgot that the trigger
here was PyPy's specialised single type containers.

Cheers,
Nick.

--
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to