Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.01; '(although': 0.05; 'python:': 0.05; 'subject:two': 0.07; 'python': 0.08; 'subject:compare': 0.09; 'am,': 0.14; 'wrote:': 0.14; 'angelico': 0.16; 'batteries': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'ha!': 0.16; 'python-list,': 0.16; 'subject:similar': 0.16; 'tue,': 0.17; 'header:In-Reply- To:1': 0.21; 'received:209.85.210.174': 0.23; 'received:mail- iy0-f174.google.com': 0.23; 'there.': 0.25; 'message- id:@mail.gmail.com': 0.28; 'subject:?': 0.29; 'bit': 0.30; 'fairly': 0.30; 'joined': 0.32; 'posts': 0.32; 'steven': 0.32; 'to:addr:python-list': 0.33; 'list.': 0.33; 'chris': 0.34; "d'aprano": 0.35; 'subject:What': 0.35; 'subject:lists': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.37; 'thread': 0.37; 'subject:: ': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'bring': 0.64; 'covers': 0.65; 'soon': 0.73; 'learned': 0.73; '"most': 0.84; 'informative.': 0.96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=f2yeHt+O0zrGh2v0SN2DJDGX0CH91rJjfJKe/oRLd/U=; b=mPfg5NJ0k5AGfcz3nNbI3CJLXFqdw+22JGL9xM+Aq16keHD4UUnFi5oz+l5kpfwVGg x8RUNVGTU1LlgaaHhcpaDPt+vnyX6s+D+kHz3XsVi2SuEZ86V4U1sF+mH7hCxU5WxKA4 lwauQ8tCrLc53Dka4y5rGrpWfYvmo2KI2Romo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Q3Tu2Dd90s2Vrb9n+pp69StJ5ygpr7CAQ65diMKlPCXqaSSI8aK9JLcxu5mlP/E6qY Wdn9939drQQaY3JZGxrEur84V+SfEutqRziXhVABfTBjIo9hlodz6936nda3lH8mqqg3 vpVA4Iw7Jg3qS2k7Dwa+bkEI1wNygGlygcIH4= MIME-Version: 1.0 In-Reply-To: <4df634f0$0$30002$c3e8da3$5496439d@news.astraweb.com> References: <3ff2f4cc-7c26-4f59-9463-d6f0874174d8@dn9g2000vbb.googlegroups.com> <4df634f0$0$30002$c3e8da3$5496439d@news.astraweb.com> Date: Tue, 14 Jun 2011 02:30:59 +1000 Subject: Re: What is the most efficient way to compare similar contents in two lists? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1307982662 news.xs4all.nl 49182 [::ffff:82.94.164.166]:55991 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7534 On Tue, Jun 14, 2011 at 2:04 AM, Steven D'Aprano wrote: > On Tue, 14 Jun 2011 01:39:50 +1000, Chris Angelico wrote: > >> Python: "Batteries Included". >> >> (Although Python 3 is "Most of the batteries you're used to, included".) > > Oh gods, you're not going to bring up sort(cmp=...) again are you???? > > /me ducks and covers Ha! That *lengthy* thread started fairly soon after I joined this list. It was highly... informative. I learned a bit about Python, and a lot about python-list, from the posts there. Chris Angelico