Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'wed,': 0.03; 'imo.': 0.09; 'subject:()': 0.09; 'subject:blog': 0.09; 'am,': 0.14; 'wrote:': 0.14; 'billy': 0.16; "isn't.": 0.16; 'non-trivial': 0.16; '\xa0this': 0.16; 'cheers,': 0.19; 'header:In-Reply-To:1': 0.21; 'received:209.85.161.46': 0.23; 'received:mail- fx0-f46.google.com': 0.23; 'subject:use': 0.25; 'there.': 0.25; 'received:209.85.161': 0.26; 'message-id:@mail.gmail.com': 0.28; 'typically': 0.28; 'subject:how': 0.29; 'class': 0.29; 'cases.': 0.30; 'subject:post': 0.30; 'looks': 0.31; 'calling': 0.31; 'agree': 0.32; 'cases': 0.32; 'does': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.37; 'useful': 0.37; 'received:209.85': 0.37; '(to': 0.37; 'think': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'feature': 0.40; 'introduced': 0.40; 'really': 0.40; 'more': 0.60; 'simply': 0.60; 'super': 0.63; 'special': 0.66; 'diamond': 0.84; 'complexity': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=/fNrOuUYkw4rIGFPR+UsFu4OkgeoIBfGFEE8Zr68qJo=; b=SD0/wo4mHbU08cN1Rv4y0TkSOQEShfTH74gszM9yF0psG75QApZtqT5TbICxCYuMAN UadY0EluIRykHR/9vhNrAvGxLu3SmP5FTW8oDM5oCTAM+JdQ+41hbOfqEBA2g028aFMq 3Rbg8CgXmyItld39HcKwqnWJaSY+CqByZ1SW4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=cmsmKIhjJ/qrE4sffcI2C3J6320tOw91PntrVBoMc6zQLKfF2YUZqzUQyaV5vTlxj4 BMjAjJt+uqhu6KqMg+RKMpCKPkt/wMcnY8OEG8pAQgCRPmfdxekQar2p6xkdot7vzLt+ AFaNsUSEIUBs98kZRpIBnJb09YxSW+F1/Z6WA= MIME-Version: 1.0 In-Reply-To: References: <80476fba-1b57-4bb1-9d7d-391edaf3042d@22g2000prx.googlegroups.com> From: Ian Kelly Date: Wed, 1 Jun 2011 11:06:02 -0600 Subject: Re: Updated blog post on how to use super() To: Python Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 14 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306947994 news.xs4all.nl 49045 [::ffff:82.94.164.166]:46677 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6804 On Wed, Jun 1, 2011 at 10:46 AM, Billy Mays wrote: > What it does is clear to me, but why is it interesting or special isn't. > =A0This looks like a small feature that would be useful in a handful of c= ases. Well, I agree with you there. The complexity introduced by super typically outweighs the benefits it provides, IMO. The only time when it is really necessary is in non-trivial diamond inheritance situations (to avoid calling the same method on some base class more than once), and in those cases I think it is simply better to not use multiple inheritance in the first place. Cheers, Ian