Python "object" as root object

Scott James Remnant scott at
Wed May 25 16:02:36 BST 2005

On Wed, 2005-05-25 at 19:11 +1000, Martin Pool wrote:

> On Wed, 2005-05-25 at 01:45 -0500, John A Meinel wrote:
> > I think it was python 2.2 or 2.3 where python introduced the 'object'
> > superclass. Basically all classes should really inherit from object at
> > the lowest level. That is what enables you to use functions like 'super()'
> Ah, I had heard of this change but had not realized it was "should
> inherit" (or as Fredrik says "may inherit") not "do implicitly inherit
> from object", as in Java.  I don't mind adding it if it's useful or
> cleaner in any particular case.
Please can you add it :o)

Scott James Remnant
scott at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : 

More information about the bazaar mailing list