On Mon, May 6, 2013 at 11:26 PM, Antoine Pitrou <[email protected]> wrote: > Le Mon, 6 May 2013 23:18:54 +1000, > Nick Coghlan <[email protected]> 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 | [email protected] | Brisbane, Australia _______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
