Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '(although': 0.05; 'subject:two': 0.07; 'python': 0.08; 'subject:compare': 0.09; 'am,': 0.14; 'wrote:': 0.14; 'batteries': 0.16; 'expected,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'furman': 0.16; 'included"': 0.16; 'missing?': 0.16; 'subject:similar': 0.16; 'tue,': 0.17; 'header:In-Reply-To:1': 0.21; "aren't": 0.22; 'received:209.85.210.174': 0.23; 'received :mail-iy0-f174.google.com': 0.23; 'referring': 0.23; 'welcome.': 0.23; 'suspect': 0.25; 'modules': 0.26; 'moving': 0.26; 'message- id:@mail.gmail.com': 0.28; 'subject:?': 0.29; "didn't": 0.31; 'yet': 0.32; 'someone': 0.33; 'to:addr:python-list': 0.33; 'comment': 0.33; 'subject:What': 0.35; 'probably': 0.36; 'subject:lists': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.37; "who's": 0.37; 'but': 0.38; 'subject:: ': 0.38; "i'd": 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'more': 0.60; 'your': 0.60; 'glad': 0.66; 'hey,': 0.74; 'gone': 0.78; '"most': 0.84; 'surprise': 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=XwOBu7OzXSSaru0oQxTTWA18tgs3Cgm/7iQxpw0wA1I=; b=N9zPdUk9gBmmJ0eCrVZDQg/sAmGqtyjLdD2SHcKwlD/uEA/vOsknXyBfmQtJR2jYie oKEtcr11UYSE/zTKOjeVF/Kmmaph8rZk6nHQSG/Lz4ZJ4ZIsnsKqJ1K+Zr38+9/+9COx eRI2akMOQD7IjHFYyXJpt769CZ4/JAByj0rDU= 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=vlpuk68dW6TN2yE83krpqm1VQOP+pECkRmGBR/sLV7Vp9dlx62mn3GdjZE41pTALsW op5//gU48epO9TcZGmz6/zA7xKqYVWa+F94lVV4lWXCpLaJ3xj9o5pQE8t+199n0Ee8t 3xMXJB4bDxKLWREGWsTlYMwZQwekO04+hvOl0= MIME-Version: 1.0 In-Reply-To: <4DF660CC.2090606@stoneleaf.us> References: <3ff2f4cc-7c26-4f59-9463-d6f0874174d8@dn9g2000vbb.googlegroups.com> <4df634f0$0$30002$c3e8da3$5496439d@news.astraweb.com> <4DF660CC.2090606@stoneleaf.us> Date: Tue, 14 Jun 2011 07:33:25 +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: 12 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1308000815 news.xs4all.nl 49178 [::ffff:82.94.164.166]:50275 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7561 On Tue, Jun 14, 2011 at 5:11 AM, Ethan Furman wrote: > I suspect Geremy is referring to your "most of the batteries you're used to, > included" comment -- which batteries are missing? Oh! There's a handful of modules that aren't yet available in 3.x, which might surprise someone who's moving from 2.x. But hey, I didn't know about difflib (although I probably would have found it if I'd gone searching). Python has more than expected, not less! And Zachary: You're most welcome. Glad to have been of service! ChrisA