Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85838

Re: What the Pythons docs means by "container" ?

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 <rosuav@gmail.com>
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> <mailman.18794.1424209210.18130.python-list@python.org> <472c49ae-c2ce-4eda-b922-f16613722e31@googlegroups.com> <mailman.18798.1424220589.18130.python-list@python.org> <1d87da9c-ef64-4bd2-9179-e2aad908a9d0@googlegroups.com> <54E4EB78.80402@stoneleaf.us> <mailman.18832.1424289867.18130.python-list@python.org> <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 <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18846.1424305988.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Thu, Feb 19, 2015 at 11:05 AM, Ben Finney <ben+python@benfinney.id.au> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What the Pythons docs means by "container" ? candide <c.candide@laposte.net> - 2015-02-17 13:21 -0800
  Re: What the Pythons docs means by "container" ? Cameron Simpson <cs@zip.com.au> - 2015-02-18 08:39 +1100
    Re: What the Pythons docs means by "container" ? candide <c.candide@laposte.net> - 2015-02-17 16:30 -0800
      Re: What the Pythons docs means by "container" ? Chris Angelico <rosuav@gmail.com> - 2015-02-18 11:49 +1100
        Re: What the Pythons docs means by "container" ? candide <pascal.ortiz@gmail.com> - 2015-02-17 18:14 -0800
          Re: What the Pythons docs means by "container" ? MRAB <python@mrabarnett.plus.com> - 2015-02-18 18:04 +0000
          Re: What the Pythons docs means by "container" ? Ian Kelly <ian.g.kelly@gmail.com> - 2015-02-18 11:50 -0700
          Re: What the Pythons docs means by "container" ? Ethan Furman <ethan@stoneleaf.us> - 2015-02-18 11:43 -0800
          Re: What the Pythons docs means by "container" ? Terry Reedy <tjreedy@udel.edu> - 2015-02-18 15:04 -0500
            Re: What the Pythons docs means by "container" ? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-02-19 10:03 +1100
              Re: What the Pythons docs means by "container" ? Ben Finney <ben+python@benfinney.id.au> - 2015-02-19 11:05 +1100
              Re: What the Pythons docs means by "container" ? Chris Angelico <rosuav@gmail.com> - 2015-02-19 11:33 +1100
  Re: What the Pythons docs means by "container" ? Terry Reedy <tjreedy@udel.edu> - 2015-02-17 19:54 -0500
  Re: What the Pythons docs means by "container" ? perfectican <perfectican@gmail.com> - 2015-02-19 02:59 -0800
    Re: What the Pythons docs means by "container" ? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-19 11:20 +0000
  Re: What the Pythons docs means by "container" ? Rustom Mody <rustompmody@gmail.com> - 2015-02-20 03:37 -0800
    Re: What the Pythons docs means by "container" ? Ian Kelly <ian.g.kelly@gmail.com> - 2015-02-20 11:38 -0700

csiph-web