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


Groups > comp.lang.python > #61368

Re: interactive help on the base object

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'algorithm': 0.04; 'list?': 0.07; 'permitted': 0.07; 'reason,': 0.07; 'subject:help': 0.08; 'classes.': 0.09; 'terminated': 0.09; 'cc:addr:python-list': 0.11; 'exactly?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'inheritance': 0.16; 'itself,': 0.16; 'principled': 0.16; 'subject:object': 0.16; 'component': 0.16; 'wrote:': 0.18; 'work,': 0.20; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'resolution': 0.29; 'dec': 0.30; 'returned': 0.30; 'message-id:@mail.gmail.com': 0.30; 'alan': 0.31; 'class': 0.32; 'subject:the': 0.34; 'computing': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'ordered': 0.36; 'done': 0.36; "didn't": 0.36; 'method': 0.36; 'list': 0.37; 'pm,': 0.38; 'rather': 0.38; 'does': 0.39; 'how': 0.40; 'impact': 0.61; 'believe': 0.68; 'subject:base': 0.84; 'to:none': 0.92; '2013': 0.98
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=DI/PMLdyzANbcrJT5vW9xxaqL33TLE73pASyF254QJc=; b=NiN9fL9vEWokfgmFlIjU9tNUh0atG7kmcn1lnQQR6mdUze3mZgKwUHFuL/60vcSWb9 zaEHqiWBnjDPVEgRNm78vHwFUS8TMJ6EcUv6SdoNoxQG40J+R/5A5QxVaUVRfKsZrKGp iZOS7nyBtn/bhD/EZ8sFhLXE3+rCMBolAr3Gvpyb2t4NTk6P9g93p1xYXlsXSPs42g2R Vh96+be050os2nHc1VldDI4Q6konsMtwD8Fl5Jwy/LKEhgXcmVyB4eflJBceD8dn9mhf /SwTM17lAxCL/Vcbhex3CFx2evzsus/FLQd0FrWXmv1SBNxgdZOYB2hChuGn70MAxsQx yWBQ==
MIME-Version 1.0
X-Received by 10.68.236.133 with SMTP id uu5mr2770804pbc.153.1386574762075; Sun, 08 Dec 2013 23:39:22 -0800 (PST)
In-Reply-To <w2da9gaeb0r.fsf@scooby-doo.csail.mit.edu>
References <l7t00b$hp7$1@ger.gmane.org> <l7tu0b$s3o$1@ger.gmane.org> <mailman.3748.1386546562.18130.python-list@python.org> <l833rs$jik$1@dont-email.me> <mailman.3752.1386553439.18130.python-list@python.org> <52a52b98$0$2762$c3e8da3$76491128@news.astraweb.com> <mailman.3753.1386556915.18130.python-list@python.org> <52a558c2$0$2762$c3e8da3$76491128@news.astraweb.com> <w2da9gaeb0r.fsf@scooby-doo.csail.mit.edu>
Date Mon, 9 Dec 2013 18:39:21 +1100
Subject Re: interactive help on the base object
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.3763.1386576267.18130.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1386576267 news.xs4all.nl 2919 [2001:888:2000:d::a6]:34969
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:61368

Show key headers only | View raw


On Mon, Dec 9, 2013 at 6:31 PM, Alan Bawden
<alan@scooby-doo.csail.mit.edu> wrote:
> I don't believe that this was done for any deep principled reason, but
> rather it was just permitted because the algorithm for computing method
> resolution order didn't actually care whether there were inheritance
> cycles -- it still terminated and returned an ordered list of component
> classes.

How does that work, exactly? How do you have a class inherit
(ultimately) from itself, and how does that impact the component class
list?

ChrisA

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


Thread

Re: interactive help on the base object Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-08 23:48 +0000
  Re: interactive help on the base object Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-09 00:45 +0000
    Re: interactive help on the base object Mark Janssen <dreamingforward@gmail.com> - 2013-12-08 17:09 -0800
    Re: interactive help on the base object Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-09 01:38 +0000
    Re: interactive help on the base object Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-09 01:43 +0000
      Re: interactive help on the base object Steven D'Aprano <steve@pearwood.info> - 2013-12-09 02:31 +0000
        Re: interactive help on the base object Mark Janssen <dreamingforward@gmail.com> - 2013-12-08 18:41 -0800
          Re: interactive help on the base object rusi <rustompmody@gmail.com> - 2013-12-08 18:58 -0800
            Re: interactive help on the base object Steven D'Aprano <steve@pearwood.info> - 2013-12-09 04:16 +0000
              Re: interactive help on the base object rusi <rustompmody@gmail.com> - 2013-12-08 20:46 -0800
                Re: interactive help on the base object rurpy@yahoo.com - 2013-12-08 21:26 -0800
                Re: interactive help on the base object rusi <rustompmody@gmail.com> - 2013-12-08 22:44 -0800
                Re: interactive help on the base object Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-09 09:44 +0000
          Re: interactive help on the base object Steven D'Aprano <steve@pearwood.info> - 2013-12-09 05:44 +0000
            Re: interactive help on the base object Alan Bawden <alan@scooby-doo.csail.mit.edu> - 2013-12-09 02:31 -0500
              Re: interactive help on the base object Chris Angelico <rosuav@gmail.com> - 2013-12-09 18:39 +1100
                Re: interactive help on the base object Alan Bawden <alan@scooby-doo.csail.mit.edu> - 2013-12-10 00:34 -0500
                Re: interactive help on the base object Chris Angelico <rosuav@gmail.com> - 2013-12-10 16:44 +1100
        Re: interactive help on the base object Chris Angelico <rosuav@gmail.com> - 2013-12-09 13:57 +1100
    Re: interactive help on the base object Terry Reedy <tjreedy@udel.edu> - 2013-12-09 00:00 -0500
    Re: interactive help on the base object Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-09 23:48 +0000
  Re: interactive help on the base object Steven D'Aprano <steve@pearwood.info> - 2013-12-09 01:58 +0000

csiph-web