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


Groups > comp.lang.python > #109907

Re: Overriding methods inherited from a superclass with methods from a mixin

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Michael Selik <michael.selik@gmail.com>
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 <mailman.44.1465839490.2288.python-list@python.org> (permalink)
References <2a1088f1-3bdb-4b21-80b5-8cc640d3bceb@googlegroups.com> <CAGgTfkPeAem4AVqejzcG8msdGyQg+HYG23qoUki5cn3K6xHC0w@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de zGQWgZ2d8O32YtxPH+HVLwDVXAtAdCyg+Xxjio9SePQg==
Return-Path <michael.selik@gmail.com>
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&gt;': 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 <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 <CAGgTfkPeAem4AVqejzcG8msdGyQg+HYG23qoUki5cn3K6xHC0w@mail.gmail.com>
X-Mailman-Original-References <2a1088f1-3bdb-4b21-80b5-8cc640d3bceb@googlegroups.com>
Xref csiph.com comp.lang.python:109907

Show key headers only | View raw


On Mon, Jun 13, 2016 at 12:01 AM <alanqueiros@gmail.com> 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.

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


Thread

Overriding methods inherited from a superclass with methods from a mixin alanqueiros@gmail.com - 2016-06-12 20:55 -0700
  Re: Overriding methods inherited from a superclass with methods from a mixin dieter <dieter@handshake.de> - 2016-06-13 09:13 +0200
  Re: Overriding methods inherited from a superclass with methods from a mixin Peter Otten <__peter__@web.de> - 2016-06-13 09:59 +0200
  Re: Overriding methods inherited from a superclass with methods from a mixin Ian Kelly <ian.g.kelly@gmail.com> - 2016-06-13 07:17 -0600
  Re: Overriding methods inherited from a superclass with methods from a mixin Michael Selik <michael.selik@gmail.com> - 2016-06-13 17:32 +0000
  Re: Overriding methods inherited from a superclass with methods from a mixin alanqueiros@gmail.com - 2016-06-13 11:42 -0700
    Re: Overriding methods inherited from a superclass with methods from   a mixin Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-06-14 10:28 +1200
    Re: Overriding methods inherited from a superclass with methods from a mixin Michael Selik <michael.selik@gmail.com> - 2016-06-13 22:50 +0000
  Re: Overriding methods inherited from a superclass with methods from a mixin alanqueiros@gmail.com - 2016-06-13 16:44 -0700
    Re: Overriding methods inherited from a superclass with methods from a mixin Michael Selik <michael.selik@gmail.com> - 2016-06-14 00:13 +0000

csiph-web