Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Michael Selik Newsgroups: comp.lang.python Subject: Re: Overriding methods inherited from a superclass with methods from a mixin Date: Tue, 14 Jun 2016 00:13:38 +0000 Lines: 20 Message-ID: References: <2a1088f1-3bdb-4b21-80b5-8cc640d3bceb@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de IAB0zqmU5V698qXJHFxSwgXHfpm8iDGkGoqoEWNPHGJA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.052 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'python,': 0.02; 'funny,': 0.09; 'subject: \n ': 0.15; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'email addr:gmail.com>': 0.18; 'to:2**1': 0.21; 'saying': 0.22; 'code.': 0.23; 'written': 0.24; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'to:no real name:2**1': 0.27; 'message- id:@mail.gmail.com': 0.27; '13,': 0.29; 'url:wikipedia': 0.29; 'url:wiki': 0.30; 'posts': 0.30; 'posting': 0.32; 'getting': 0.33; 'class': 0.33; 'quickly': 0.34; 'received:google.com': 0.35; 'authors': 0.35; 'important.': 0.35; 'comment': 0.35; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'possible.': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'received:209': 0.38; 'wrong': 0.38; 'url:en': 0.39; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'making': 0.62; 'more': 0.63; 'youth': 0.66; 'conversation': 0.84; 'textbook': 0.84; 'mistakes': 0.95; 'fight': 0.97 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=JDgREN1Nou0FBrbIV/sItGR5csaCoHJ2H725l0DrR/o=; b=B/wOl48k/llKa7FuS5bnD4Kr+/CIlENufoQkMA3i80eI7fYHjOKEw8HLNE/G40QoV3 aJxLis6GzjnByc0hjFwpgQv59GBuRm9Mxur6vV2GABtk6LsCU74zHHdgYgG6i380wHRI Mxl/Aot0uJhGZxyiKr1FyScKQnFok2qlP8R3/jxIs6ivm6UMl41JfivRwGuofqVR6FsI 4vUDfkzCq+Mc3T4wZRifpqXnWDo81ShhMmpZ0gB8Ys8p637WIZzodDleTOeh48v4G0KW Y7+g5pjLhMwRAy12e25XVF0vMweOjXjjJL9zVbanVRYK6RWTO/zZm6XRSan8V7WfCAYt wKiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=JDgREN1Nou0FBrbIV/sItGR5csaCoHJ2H725l0DrR/o=; b=fQEf2LdkDOIULcOWsNXJLCRGWKGwU7CBIWHixJTfXPfYuiE8JYnYeJjkYAOboev+HM 9nDzkmNULpKtBARYZTrjXqmGJra/h8BQAzkoi675dGaFtHv2JnDG5h+5hH28iWu89b6F bmF8RmAbZSqWq8MA54OeeZd6vsU9oypAg86K5r7RCZcwNjF77rGDtEb57KhnNKKpiQo+ ykcymGx63CmZUL+gVQx7zPSFmFg6rD6vzIZ2TAFpHbDhTJUg+MNoKx9wDWN+a+SVo3E3 3lo9gWGkmw0Ul41MLa+OXI01wsh2R2sHX2r/jbzc/WgsGzDEwZIHrE1zAsd3Ou9S5Fi7 8z1Q== X-Gm-Message-State: ALyK8tLylhDjfpYUkMoVkKiApdNcDv4e0kX+DxoVfj6mQU5KC2uzLpENBWvK480+b4EMvGxd/LiwVvHqa2lcdg== X-Received: by 10.140.106.228 with SMTP id e91mr16481357qgf.75.1465863227552; Mon, 13 Jun 2016 17:13:47 -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: <2a1088f1-3bdb-4b21-80b5-8cc640d3bceb@googlegroups.com> Xref: csiph.com comp.lang.python:109918 On Mon, Jun 13, 2016 at 7:46 PM wrote: > I ... am making an effort to get used to the rtl order as quickly as > possible. > Funny, you keep saying right-to-left. I think the issue is you think the parent class is more important. Fight the power! Youth revolt! In Python, the children are in control. Now you can read it left-to-right, as is natural. I feel somewhat bad about posting these links > The StackOverflow answer had an upvoted comment that the BaseRequest should be written after the Mixins. The two blog posts read like conversation starters. I don't think the authors intended to write model code. A famous textbook getting it wrong would be more interesting. But even Knuth makes mistakes (https://en.wikipedia.org/wiki/Knuth_reward_check).