Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ian Kelly 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: References: <80ea0ea1-5468-2dee-2c38-c2b09801d0f1@shopzeus.com> <574e45f4$0$1611$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de c/rTTuoAGxlEgO1rr7KVbQINdA0Vl4qcFt1EKa+0mCmQ== Return-Path: 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; '>': 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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <80ea0ea1-5468-2dee-2c38-c2b09801d0f1@shopzeus.com> <574e45f4$0$1611$c3e8da3$5496439d@news.astraweb.com> Xref: csiph.com comp.lang.python:109465 On Jun 3, 2016 7:12 PM, "Gregory Ewing" 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.