[Python-Dev] Fighting the theoretical randomness of "is" on immutables
Nick Coghlan
ncoghlan at gmail.com
Mon May 6 16:20:56 CEST 2013
More information about the Python-Dev mailing list
Mon May 6 16:20:56 CEST 2013
- Previous message: [Python-Dev] Fighting the theoretical randomness of "is" on immutables
- Next message: [Python-Dev] Fighting the theoretical randomness of "is" on immutables
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, May 6, 2013 at 11:26 PM, Antoine Pitrou <solipsis at pitrou.net> wrote: > Le Mon, 6 May 2013 23:18:54 +1000, > Nick Coghlan <ncoghlan at 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 | ncoghlan at gmail.com | Brisbane, Australia
- Previous message: [Python-Dev] Fighting the theoretical randomness of "is" on immutables
- Next message: [Python-Dev] Fighting the theoretical randomness of "is" on immutables
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list