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


Groups > comp.lang.python > #109465

Re: Multiple inheritance, super() and changing signature

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Ian Kelly <ian.g.kelly@gmail.com>
Newsgroups comp.lang.python
Subject Re: Multiple inheritance, super() and changing signature
Date Fri, 3 Jun 2016 23:05:35 -0600
Lines 9
Message-ID <mailman.146.1465016744.1839.python-list@python.org> (permalink)
References <80ea0ea1-5468-2dee-2c38-c2b09801d0f1@shopzeus.com> <mailman.54.1464711627.1839.python-list@python.org> <574e45f4$0$1611$c3e8da3$5496439d@news.astraweb.com> <a17955cb-04d3-9dd6-e2b3-4719269f241d@shopzeus.com> <mailman.119.1464955829.1839.python-list@python.org> <drensfF24tfU1@mid.individual.net> <CALwzidnWEiXXHC3RykMg3Ypm5WPyLc+XXW9XHKMB=2Sub-qcyQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de c/rTTuoAGxlEgO1rr7KVbQINdA0Vl4qcFt1EKa+0mCmQ==
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.034
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'called.': 0.09; 'subclass': 0.09; 'received:209.85.218': 0.10; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:changing': 0.16; 'wrote:': 0.16; '&gt;': 0.18; 'either.': 0.22; 'header:In- Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'guarantees': 0.29; 'that.': 0.30; 'call.': 0.30; "can't": 0.32; 'class': 0.33; 'belong': 0.33; 'received:google.com': 0.35; 'could': 0.35; 'but': 0.36; 'received:209.85': 0.36; 'to:addr :python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'skip:& 10': 0.37; 'method': 0.37; 'received:209': 0.38; 'to:addr:python.org': 0.40; 'making': 0.62; 'matter': 0.63; 'necessarily': 0.63; 'to:name:python': 0.84
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:to; bh=KRKtpQAY0AVRa7aEw0tHU/DtE2MEbCstiP+ft3diNuU=; b=n/jJN9D5bsaxN3hklK4dMtvK34N+nMgFEfw3ynqQZGYCJr215YzIk3Fj9mzN2+iKRb 6yrkrUI7miQdopLjBVP3AQ1l3X3hYsYirxwlLM9SvOSN4MftyUsybhkjNKugff8uHLSn 2fGUkQ95IO4Xuub3zbRzHTuKDm80P46FdxrwXt5VUrJrFYo8H3hQgFDKkprhER9rK6zW Rw33qMPHB+KFZsL9ZFV8XYvIMEEvWs4polrpCFQyiKvSZyaMF6dzlAWA8CwP/xhn8XZT EVfJsD6DFhgUvVexmUYqQXjKaI28GugGGKGmlFv0J7IW0LpxP8gS48XvdVff67BXyBBB WRHA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=KRKtpQAY0AVRa7aEw0tHU/DtE2MEbCstiP+ft3diNuU=; b=elr+MZPcXIgifBL8VYKZFP+H05lj7eDV80Jp52weIzcMOzk8hF46KbAcR0CyLmms5Y 8Er8hdrbbhqYPQ5hZRsxG05vOVXFNRtjwr7/dXjMwsBL6IsqdJEy7eCikUlIvpzd+gwe G8z/HEu/EHUTqS/gJLVwlndheFkgqtePdRaev8DDk1g9lTkrsK3yRhTwtzUWJHVmfO5w 3/H67D56q84U93Xx5vLgrjXMYEZyb5k2tV7vV71cgJ0aSVu/TY2sRPkVnaFiWRJMXT+V peXlT8e57mio0/l3E7PCCsX347yIJsXYgPrVvNHwu0/5+rK+eM/wFoaLX7i9FjqUgs4C 6gzg==
X-Gm-Message-State ALyK8tKcGDTWl6KXKEkZbKkefwTpk4OpmX1QwPJ0zXt9D6apa+bQYYE3oHIltmJ7OeMGV1nszxwnGeu/NwEDvQ==
X-Received by 10.202.213.88 with SMTP id m85mr3232442oig.24.1465016736403; Fri, 03 Jun 2016 22:05:36 -0700 (PDT)
In-Reply-To <drensfF24tfU1@mid.individual.net>
X-Content-Filtered-By Mailman/MimeDel 2.1.22
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
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>
X-Mailman-Original-Message-ID <CALwzidnWEiXXHC3RykMg3Ypm5WPyLc+XXW9XHKMB=2Sub-qcyQ@mail.gmail.com>
X-Mailman-Original-References <80ea0ea1-5468-2dee-2c38-c2b09801d0f1@shopzeus.com> <mailman.54.1464711627.1839.python-list@python.org> <574e45f4$0$1611$c3e8da3$5496439d@news.astraweb.com> <a17955cb-04d3-9dd6-e2b3-4719269f241d@shopzeus.com> <mailman.119.1464955829.1839.python-list@python.org> <drensfF24tfU1@mid.individual.net>
Xref csiph.com comp.lang.python:109465

Show key headers only | View raw


On Jun 3, 2016 7:12 PM, "Gregory Ewing" <greg.ewing@canterbury.ac.nz> wrote:
>
> 4. It must not matter what order the methods in a super
> chain are called. This is because you cannot predict
> which method a given super call will invoke. It could
> belong to a subclass of the class making the call.

It can't belong to a subclass; the MRI guarantees that. But it's not
necessarily a superclass either.

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


Thread

Multiple inheritance, super() and changing signature Nagy László Zsolt <gandalf@shopzeus.com> - 2016-05-31 18:10 +0200
  Re: Multiple inheritance, super() and changing signature Steven D'Aprano <steve@pearwood.info> - 2016-06-01 12:18 +1000
    Re: Multiple inheritance, super() and changing signature Nagy László Zsolt <gandalf@shopzeus.com> - 2016-06-03 14:10 +0200
      Re: Multiple inheritance, super() and changing signature Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-06-04 13:06 +1200
        Re: Multiple inheritance, super() and changing signature Steven D'Aprano <steve@pearwood.info> - 2016-06-04 12:51 +1000
          Re: Multiple inheritance, super() and changing signature Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-06-04 23:50 +1200
        Re: Multiple inheritance, super() and changing signature Ian Kelly <ian.g.kelly@gmail.com> - 2016-06-03 23:05 -0600
          Re: Multiple inheritance, super() and changing signature Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-06-04 23:52 +1200
            Re: Multiple inheritance, super() and changing signature Steven D'Aprano <steve@pearwood.info> - 2016-06-04 23:46 +1000
              Re: Multiple inheritance, super() and changing signature Nagy László Zsolt <gandalf@shopzeus.com> - 2016-06-04 16:42 +0200
    Re: Multiple inheritance, super() and changing signature Ben Finney <ben+python@benfinney.id.au> - 2016-06-03 22:21 +1000
      Re: Multiple inheritance, super() and changing signature Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-06-04 13:10 +1200
    Re: Multiple inheritance, super() and changing signature Nagy László Zsolt <gandalf@shopzeus.com> - 2016-06-03 14:14 +0200
    Re: Multiple inheritance, super() and changing signature Nagy László Zsolt <gandalf@shopzeus.com> - 2016-06-03 14:57 +0200
    Re: Multiple inheritance, super() and changing signature Nagy László Zsolt <gandalf@shopzeus.com> - 2016-06-03 16:06 +0200
    Re: Multiple inheritance, super() and changing signature Ian Kelly <ian.g.kelly@gmail.com> - 2016-06-03 08:39 -0600
    Re: Multiple inheritance, super() and changing signature Michael Selik <michael.selik@gmail.com> - 2016-06-03 15:33 +0000
    Re: Multiple inheritance, super() and changing signature Nagy László Zsolt <gandalf@shopzeus.com> - 2016-06-03 17:59 +0200
    Re: Multiple inheritance, super() and changing signature Michael Selik <michael.selik@gmail.com> - 2016-06-03 16:28 +0000
    Re: Multiple inheritance, super() and changing signature Ben Finney <ben+python@benfinney.id.au> - 2016-06-04 06:16 +1000
    Re: Multiple inheritance, super() and changing signature Ben Finney <ben+python@benfinney.id.au> - 2016-06-04 06:19 +1000
    Re: Multiple inheritance, super() and changing signature Ian Kelly <ian.g.kelly@gmail.com> - 2016-06-03 15:53 -0600
    Re: Multiple inheritance, super() and changing signature Ben Finney <ben+python@benfinney.id.au> - 2016-06-04 10:44 +1000

csiph-web