Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'instance': 0.05; 'differently.': 0.07; 'created,': 0.09; 'subject:method': 0.09; 'executed.': 0.16; 'phrasing': 0.16; 'received:192.168.1.104': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.16; 'language,': 0.17; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'pm,': 0.24; 'suspect': 0.24; 'code': 0.25; 'bit': 0.28; 'cc:addr:python.org': 0.30; 'example': 0.30; 'confused': 0.30; 'class': 0.30; 'does': 0.32; 'header:User-Agent:1': 0.34; 'things': 0.34; 'all.': 0.34; 'something': 0.37; 'could': 0.38; 'think': 0.38; 'should': 0.38; 'subject:: ': 0.39; 'received:192': 0.39; 'session': 0.39; 'subject:from': 0.40; 'show': 0.67; 'header:Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.71; '02:59': 0.84 Date: Tue, 13 Sep 2011 15:31:08 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 MIME-Version: 1.0 To: Kayode Odeyemi Subject: Re: Invoke a superclass method from a subclass constructor References: <4E6C9044.5060302@jollybox.de> <0604E20B5F6F2F4784C9C8C71C5DD4DD2F16B197E2@EMARC112VS01.exchad.jpmchase.net> <0604E20B5F6F2F4784C9C8C71C5DD4DD2F16B1987A@EMARC112VS01.exchad.jpmchase.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:W9A5L8MxGCK/sR/T6xxZviCGxItFiuduILCExyZ+Apo VK4pxUa1fAKRjHy7F/5Aqm3esyphHLIO7bbwJDcSl6JmiXmAje EkcDz1V8inWJU0MskmJbMzGfognhjWT2BhZqI+KJ3KrNfAwi3x JrarxA4+4wocfaqRtX5MXUJ0h1y/xoy/59VK1yVxfJENVMreDu sq7iviQvteLlbFA0f6tAObBuuYCCvpsqPdkURmxHELes70vuQY w4Z/8huylwahELvn8FV0f8gTzC2f2CSBKys580yP3seRAW9/Rq CeuHuSxktdbJRuB0JWIF1AoiXX+ceKilXMPMqvTLFWEl8FG+g= = Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: davea@ieee.org 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1315942285 news.xs4all.nl 2521 [2001:888:2000:d::a6]:51945 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:13240 On 01/-10/-28163 02:59 PM, Kayode Odeyemi wrote: > > When an instance of a class is created, all codes within that instance block > should be executed. That's my understanding of OOP. > I don't understand this phrasing at all. Could you show a specific example of something that does not execute code you think should be executed? I suspect you're just confused by things the interactive session is printing out, which are not part of the language, and work a bit differently. DaveA