Python "object" as root object

John A Meinel john at arbash-meinel.com
Wed May 25 07:45:46 BST 2005


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()'

Is there a reason why none of bzr's classes use this idiom? It isn't
extremely different, but I thought it was the correct way to do things.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050525/b28b6aac/attachment.pgp 


More information about the bazaar mailing list