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: Mon, 13 Jun 2016 17:32:30 +0000 Lines: 15 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 zGQWgZ2d8O32YtxPH+HVLwDVXAtAdCyg+Xxjio9SePQg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.021 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'python': 0.10; 'subject: \n ': 0.15; '2016': 0.16; 'inheritance': 0.16; 'lookups': 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; 'ok.': 0.22; "haven't": 0.24; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'helpful': 0.27; 'to:no real name:2**1': 0.27; 'message- id:@mail.gmail.com': 0.27; '13,': 0.29; 'code': 0.30; 'received:google.com': 0.35; 'could': 0.35; 'received:209.85': 0.36; '(and': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'method': 0.37; 'list.': 0.37; 'guys': 0.38; 'received:209': 0.38; 'received:209.85.216': 0.38; 'why': 0.39; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'some': 0.40; 'judge': 0.66 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=voKwKgwCMLnYk1irB4T4YpcrSI4uQ/GZWgPZ31a7Alo=; b=xd8b5AsPeaM+9bCAEImii5V9l+3aR/cJwP66cnV/IMhAIGOF+iMjZGW6qbbV+3hZwq q38FhkgfC5TdMfRtKnLmgTd93Wr8VVsrJbYCgm005HH0FctQ/oqtcUNZ1iTjdCCJIFmg NSlz8nszTmCZoaiLeDOxdEXzC9k8rz3NTEN/8UDBqe4rEPiY1rlkCw1M587plwYBJ31W O+oyCe5urkEw/0IQl7gAEpom54MZOGP/RLOES/baKw1BOOFPdIjedgz3o8QNg6a30PR2 JineDynO671YXjUTYjIYtXZul/c/agbACLjkVJQT/7ZMDbtGYkzwll6AlRXHAwjHz3Ej gQ3g== 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=voKwKgwCMLnYk1irB4T4YpcrSI4uQ/GZWgPZ31a7Alo=; b=mlGW4yTeqcph+byt4Eq2hbYxiFKZmQE8HXQR1ze//0emoakCXyxDinr8TYb8UUL3U9 erAIStqkGLY8JpVEM7GOsAaFJvdAQOe7HKwmhzEHc+GZRm8WlppJIoMDHXtdhAdL4a6h GKwj5f9GQoR6D2JScuQ8amOto7KhPvOYCB1HvhFW9Imo35AU29Kgr6Z6R3zAlOfBIKuY cDX1SzerF4HAzPWaPOWQ+Ln3SgoVvNXj8aW2krjjLLpBlsk3EYpa9OIiI5BEz3BQMh8V rwpoozMfLJhCvqjNZqWZMp+4rqffv/XYnRMDdqmbSouGaRnnjzcrH4wuH+6j6VTVABr8 6ehA== X-Gm-Message-State: ALyK8tKweTxCG0GtsUrMMzGHvMaTsCWf2NxiHGpTZfLlkPY7gH9DrUG0C11u9kWRVtGvlCzeZmYzmfyp36Jcqg== X-Received: by 10.237.49.66 with SMTP id 60mr15705520qtg.103.1465839159860; Mon, 13 Jun 2016 10:32:39 -0700 (PDT) In-Reply-To: <2a1088f1-3bdb-4b21-80b5-8cc640d3bceb@googlegroups.com> 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:109907 On Mon, Jun 13, 2016 at 12:01 AM wrote: > I haven't used Python for some time so I don't feel confident to judge > Yet, you are clearly judging the code you pasted as not OK. Perhaps you guys could help me either convincing me that the bpaste code is > OK > It would be helpful for you to explain why you think the code you pasted is not OK. To me it makes sense. English reads left-to-right, so method lookups go left-to-right (and children before parents) in the inheritance list.