Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.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.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'abstraction': 0.09; 'subject:number': 0.09; 'cc:addr:python-list': 0.11; '*any*': 0.16; "can't.": 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; "doesn't": 0.30; 'subject:list': 0.30; 'message- id:@mail.gmail.com': 0.30; '13,': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'subject:the': 0.34; 'received:google.com': 0.35; 'pm,': 0.38; 'name': 0.63; 'subject:get': 0.81; 'leak': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=Sx7XrxgbQlbASoL9UB6Cf+VIctDus1Y9Yd/igVO7hVw=; b=NYss55skqZWJVWXgB6/Pk5v2ifuWgN01pTMNDcEKPUI+nhcsmyZQItRRzO59xDwH40 NK0Vme2v90Zsq+qGVRjkaqhcXos45XUXicamTI/MNS9OEofUhH1+8DlkeL0n9hEkcsXN C9EUC56oy2pgDIFaTKsDKbm6Q19dhHeVtDgdSIWWq/mheyOsZTJIiLO7NsidxCiWWxg4 lQKA8sI2qiRhR47vV3dLDhlO7wavhsapXqwiwUA+8K1dG9Ir2wYIIGwZRx1/HgltPr+l hSMctYH+3ELbXwFurrd3XcF63ja3ABzPalut+zeLcvFKAHyuPsfUUJubw8gnFlXEDagI oaHQ== MIME-Version: 1.0 X-Received: by 10.50.66.197 with SMTP id h5mr45253711igt.34.1407896314556; Tue, 12 Aug 2014 19:18:34 -0700 (PDT) In-Reply-To: <53eac942$0$29980$c3e8da3$5496439d@news.astraweb.com> References: <53E658CD.5020904@gmail.com> <53e59035$0$29998$c3e8da3$5496439d@news.astraweb.com> <338e8fb0-c9ec-462a-b560-1c1ff77de17e@googlegroups.com> <154cc342-7f85-4d16-b636-a1a953913c98@googlegroups.com> <53e831d1$0$30002$c3e8da3$5496439d@news.astraweb.com> <2768e86c-34cf-4478-ac02-2ea6a4eb9236@googlegroups.com> <53e89aeb$0$29890$c3e8da3$5496439d@news.astraweb.com> <53eac942$0$29980$c3e8da3$5496439d@news.astraweb.com> Date: Wed, 13 Aug 2014 12:18:34 +1000 Subject: Re: how to get the ordinal number in list From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1407896317 news.xs4all.nl 2903 [2001:888:2000:d::a6]:40805 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76166 On Wed, Aug 13, 2014 at 12:11 PM, Steven D'Aprano wrote: > both leak > because the implementation of the abstraction spoils the abstraction. Can you name *any* nontrivial abstraction that doesn't leak? I can't. ChrisA