Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.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.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'received:209.85.223': 0.03; 'counting': 0.09; 'cc:addr:python-list': 0.11; 'better:': 0.16; 'does,': 0.16; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'demonstrate': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'that.': 0.31; 'them?': 0.31; 'subject:the': 0.34; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'right?': 0.36; "i'll": 0.36; 'should': 0.36; 'received:209': 0.37; 'ben': 0.38; 'sure': 0.39; 'believe': 0.68; '2015': 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=+IsDuZgYZsDD98pL+D4yB2KNFDLj+3zwmXQp0Vxbrb8=; b=cHlClZRHtaZONoYen4We/pbJbPEra5h0SszNiXlNRyrFdKGg/gW72Kt26YXmAADKd/ eqI70vcE0TbaBYaj1uAWc34LGlO3Y0iwAj9NcU3LtmDkk1FS4gSaeUZuxQwopP6OQpfc 5ew5oRWxOoboFq0apksxUTAwq3Em2xLMCIZr48SL9QwuL6RRtjhhFr8VIz8Z3KQDSV/q UAuEPTuy7+lE0FqQEpk/Y4wRKYiGGn0IIlW1rxexhTRiwQgkb/sWYAudT1KyZO13XBBo PAs5smv9giYIATjFe5ZysQKJasHtUToODg3AMeNFR0gcIlF22XRmdqRdflh0crA87fBw c7FA== MIME-Version: 1.0 X-Received: by 10.42.52.200 with SMTP id k8mr3255754icg.26.1424305986195; Wed, 18 Feb 2015 16:33:06 -0800 (PST) In-Reply-To: <85h9uiahpb.fsf@benfinney.id.au> References: <71e8463f-2a60-4fb0-a5b7-0ca7cd3efece@googlegroups.com> <472c49ae-c2ce-4eda-b922-f16613722e31@googlegroups.com> <1d87da9c-ef64-4bd2-9179-e2aad908a9d0@googlegroups.com> <54E4EB78.80402@stoneleaf.us> <54e51a54$0$12994$c3e8da3$5496439d@news.astraweb.com> <85h9uiahpb.fsf@benfinney.id.au> Date: Thu, 19 Feb 2015 11:33:06 +1100 Subject: Re: What the Pythons docs means by "container" ? 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424305988 news.xs4all.nl 2891 [2001:888:2000:d::a6]:55731 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85838 On Thu, Feb 19, 2015 at 11:05 AM, Ben Finney wrote: >> Hmmm. I'm not sure I believe that. Can you enumerate all of the items >> and see if there actually is an infinite number of them? I'll wait... > > A mathematician should know better: you don't need to enumerate to > demonstrate a collection is infinite. But you may have to demonstrate a 1:1 correspondence with counting numbers, to prove that it's countably infinite. And that's pretty much what the enumerate() function does, so that's enumeration.... right? Bizarre pseudo-logic for the win. ChrisA