Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python,': 0.01; 'singh': 0.07; 'type,': 0.07; 'builtin': 0.09; 'am,': 0.14; 'wrote:': 0.14; 'guys,': 0.16; 'object?': 0.16; 'received:10.60': 0.16; 'shed': 0.16; 'why.': 0.16; 'cc:addr:python-list': 0.17; 'this?': 0.19; 'guess': 0.19; 'header:In-Reply-To:1': 0.21; 'say,': 0.22; 'cc:2**0': 0.22; "what's": 0.23; 'classes': 0.26; 'work.': 0.28; 'wondering': 0.28; 'received:199': 0.29; 'cc:addr:python.org': 0.30; 'anyone': 0.32; "can't": 0.32; 'received:198': 0.32; 'does': 0.33; 'light': 0.34; 'there': 0.35; 'header:User-Agent:1': 0.35; 'url:python': 0.38; 'could': 0.38; 'url:org': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'feature': 0.40; 'really': 0.40; 'more': 0.60; 'super': 0.63; 'here': 0.66; 'url:3': 0.67; 'william': 0.68; 'programs,': 0.80; '03:59': 0.84; 'difference.': 0.84 Date: Fri, 20 May 2011 11:01:13 +0800 From: William.Bai User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: Navkirat Singh Subject: Re: Inheriting Object References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: "python-list@python.org" 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: 23 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1305861193 news.xs4all.nl 49183 [::ffff:82.94.164.166]:39133 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5808 Hi Nav: Here is the long why. http://www.python.org/download/releases/2.2.3/descrintro/ I guess for most programs, there is no big difference. But in term of some new added features in python, you might not be able to work. Say, you could not use super in type, also you can't multiply inherit from different built-in types, what's more you could not use some builtin feature such as property. BRs William On 01/-9/-28163 03:59 AM, Navkirat Singh wrote: > Hi Guys, > > I have been wondering for a while now as to why some classes inherit > Object? And what does it really do for the class? Can anyone shed some > light on this? > > Regards, > Nav