Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.01; 'received:209.85.212.46': 0.03; 'received:mail- vw0-f46.google.com': 0.03; '(although': 0.05; 'python:': 0.05; 'subject:two': 0.07; 'python': 0.08; 'subject:compare': 0.09; '>>>': 0.12; 'am,': 0.14; 'wrote:': 0.14; 'angelico': 0.16; 'batteries': 0.16; 'ha!': 0.16; 'python-list,': 0.16; 'subject:similar': 0.16; 'cc:addr:python-list': 0.17; 'mon,': 0.17; 'tue,': 0.17; 'header:In-Reply-To:1': 0.21; 'cc:2**0': 0.22; 'cc:no real name:2**0': 0.23; 'here?': 0.23; 'there.': 0.25; 'message-id:@mail.gmail.com': 0.28; 'subject:?': 0.29; 'bit': 0.30; 'cc:addr:python.org': 0.30; 'fairly': 0.30; 'joined': 0.32; 'posts': 0.32; 'steven': 0.32; 'list.': 0.33; 'received:209.85.212': 0.34; '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; '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:cc:content-type; bh=3kGqV4Wc5YLtPHaUpWfBDWk5/YegMnfYzfAi8qx8pMQ=; b=A5y0Y9SworUSkQoP7fDrLg4Aqi1GxypO49k9vEHgWwwLkxJ1XRoHeHUedI/hBhtnHk 817t+zqLnLgLNmP8tVF3IzhQtHVmAEh3wJzvT9XgSq3CwDNLysNFmYyfOf0y32uhONL7 ED79KCGxv8I4bdE8K+KxmVFypVMteyRX+VhLY= 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 :cc:content-type; b=H6kTTADhed1HfkB/uyqWk0jD2+Ns6/jEfzosIxaNt7KqjWVcJ3ILAnyi1BgEuo5DiD hXoiYOh5ge1hQ3UThY2n7+6KcuQV6zMoSjgpiSzNs8ezL/y5vSAAqRxwFXdlHJqLfyt2 TaCpGAPUTSiAjmq+2zHJLceCEJamVU0OyxpSo= MIME-Version: 1.0 In-Reply-To: References: <3ff2f4cc-7c26-4f59-9463-d6f0874174d8@dn9g2000vbb.googlegroups.com> <4df634f0$0$30002$c3e8da3$5496439d@news.astraweb.com> Date: Mon, 13 Jun 2011 10:46:09 -0700 Subject: Re: What is the most efficient way to compare similar contents in two lists? From: geremy condra To: Chris Angelico Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org 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: 20 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1307987171 news.xs4all.nl 49175 [::ffff:82.94.164.166]:57923 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7537 On Mon, Jun 13, 2011 at 9:30 AM, Chris Angelico wrote: > 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. So what are we talking about here? Reduce? Geremy Condra