Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.083 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.02; 'subject:test': 0.05; 'reply-to:addr:comp.lang.python': 0.09; 'to:addr:comp.lang.python': 0.09; 'duplicates': 0.16; 'from:addr:miki.tebeka': 0.16; 'from:name:miki tebeka': 0.16; 'cc:addr:python-list': 0.16; 'subject:list': 0.21; 'header:In- Reply-To:1': 0.22; 'cc:2**0': 0.24; 'cc:addr:python.org': 0.29; 'header:User-Agent:1': 0.33; 'right,': 0.34; 'received:google.com': 0.37; 'received:209.85': 0.38; 'version:': 0.39; 'received:209': 0.40; 'cause': 0.67; 'header:Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.72; 'stand': 0.72; 'reply- to:addr:googlegroups.com': 0.74; 'received:209.85.213.184': 0.84; 'received:mail-yx0-f184.google.com': 0.84 Newsgroups: comp.lang.python Date: Thu, 15 Dec 2011 10:25:42 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=207.171.18.139; posting-account=uo-8fwoAAACKsFzFX78JHudx1V7WDXZ0 References: <45d59336-7e75-4865-8573-56742b37097c@s26g2000yqd.googlegroups.com> <61edc02c-4f86-45ef-82a1-61c7013003b4@t38g2000yqe.googlegroups.com> <616578.517.1323971973427.JavaMail.geo-discussion-forums@yqba2> User-Agent: G2/1.0 X-Google-Web-Client: true MIME-Version: 1.0 Subject: Re: test for list equality From: Miki Tebeka To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: Python X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: comp.lang.python@googlegroups.com List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 4 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1323973544 news.xs4all.nl 6863 [2001:888:2000:d::a6]:41987 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:17299 > > set(x) == set(y) > > Duplicates cause issues in the set() version: You're right, I stand corrected.