Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.056 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'integers': 0.09; '"in': 0.16; 'inheritance': 0.16; 'interpreter,': 0.16; 'janssen': 0.16; 'relates': 0.16; 'subclasses.': 0.16; 'subject:object': 0.16; 'wrote:': 0.18; 'discussion': 0.18; 'putting': 0.22; 'header:In- Reply-To:1': 0.27; 'idea': 0.28; 'topic': 0.29; 'statement': 0.30; 'then.': 0.30; 'message-id:@mail.gmail.com': 0.30; '25,': 0.31; 'sets.': 0.31; 'subject:the': 0.34; 'received:google.com': 0.35; 'impression': 0.36; 'set.': 0.36; 'so,': 0.37; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; "you're": 0.61; "you've": 0.63; 'making': 0.63; 'talking': 0.65; 'gain': 0.79; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=WH4gyoYKgT2zB3ahYR9eMszkUQAvnYupwe+GMxGAInw=; b=vBckK9upveCGAKvFYGgUOnuufpr2OIQifzDzSn7heJ6BXA7pP/MlzdgSg1ruUkAHD4 WoDVmZpzPYqplouMhUQ67ZbMl1ERe7HEWfzdHfoX0tjb02ujf/JsXjmS4B1b50Aap9K0 7aOdF8yd7wt70GtbP8W0bmOSIl/1R8mYYUVW9x8/Z6YstIeReBk+9Jcr+5obu5iyVAzJ zCZgC8EishCrDjqh/JPjlcordQN80TUYui0xt74cQOBokEIfyw6m8BH9dbDadxA2yAlM 3L+9qAo8diHpVidhtOz6T7CbUOidGL4mSnaL+vgmj70+LhiD7fXJyTJGjqC3HsTsYleN 7zwQ== X-Received: by 10.66.139.227 with SMTP id rb3mr3727965pab.121.1372236840486; Wed, 26 Jun 2013 01:54:00 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <15ba0011-bbf1-42f7-b3ea-1c1d4b70e56b@googlegroups.com> <51c66962$0$29999$c3e8da3$5496439d@news.astraweb.com> <20130623133546.GA2308@capricorn> <51c723b4$0$29999$c3e8da3$5496439d@news.astraweb.com> <51C74D6E.6030200@rece.vub.ac.be> From: Ian Kelly Date: Wed, 26 Jun 2013 02:53:20 -0600 Subject: Re: What is the semantics meaning of 'object'? To: Python Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372236848 news.xs4all.nl 16001 [2001:888:2000:d::a6]:43332 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49237 On Tue, Jun 25, 2013 at 7:07 PM, Mark Janssen wrote: >> When you inherit a "set" to make a Rational, you're making the >> statement (to the interpreter, if nothing else) that a Rational is-a >> set. > > No you don't *inherit* a set to make a Rational, although you gain a > set to make it. Okay, then. Since you started this discussion from the topic of multiple inheritance I was under the impression that you were talking about using inheritance to construct Rationals from integers and sets. Evidently that is not so, and you've been talking about composition all along, in which case I have no idea how any of this relates to your original suggestion of putting superclasses "in charge" of their subclasses.