class C: vs class C(object):

Aahz aahz at
Thu Jul 19 19:38:26 CEST 2007

In article <469f1557$0$26759$426a74cc at>,
Bruno Desthuilliers  <bruno.42.desthuilliers at> wrote:
>To make a long story short: Python 2.2 introduced a new object model 
>which is more coherent and more powerful than the original one. The old 
>one was kept so far for compatibility reasons, but there's absolutely no 
>reason to use it no more since "new-style" classes can do anything 
>"Classic" classes did and much more. IOW, don't even bother with 
>old-style classes.

And I'll make my usual knee-jerk response disagreeing with this.  For
more info, search
Aahz (aahz at           <*>

I support the RKAB

More information about the Python-list mailing list