Path: csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Gregory Ewing Newsgroups: comp.lang.python Subject: Re: What other languages use the same data model as Python? Date: Sat, 07 May 2011 21:39:47 +1200 Lines: 11 Message-ID: <92kib3FgdcU2@mid.individual.net> References: <4dbd1dbf$0$29991$c3e8da3$5496439d@news.astraweb.com> <77f64071-b288-404c-8280-b2c61ba77f06@n10g2000yqf.googlegroups.com> <4dc12fb4$0$29991$c3e8da3$5496439d@news.astraweb.com> <4dc1ca92$0$10552$742ec2ed@news.sonic.net> <5smwp.309$BG2.230@newsfe08.iad> <4dc22882$0$10557$742ec2ed@news.sonic.net> <92fb5jFa2lU1@mid.individual.net> <4dc2c52e$0$10567$742ec2ed@news.sonic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net lboU4us/tRP7QoH7+7O8oA/exymNO5phi/sAUH+uV4ms1DTaZZ Cancel-Lock: sha1:xPT0vV9DfUWqOmQkxwVNFMzgTIU= User-Agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711) X-Accept-Language: en-us, en In-Reply-To: <4dc2c52e$0$10567$742ec2ed@news.sonic.net> Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4896 John Nagle wrote: > Such tuples are still identical, even if they > contain identical references to immutable objects. The point is you'd have to do the comparison only one level deep, so it wouldn't be exactly the same as == on tuples. -- Greg