When to derive from object?

Anson Mackeracher amackera at gmail.com
Tue Oct 13 13:34:10 EDT 2009


Can someone point me to some reason on why not to derive from Object
when using Python >= 3.0? I am a Python novice, I need some
background.

On Oct 13, 10:49 am, Bruno Desthuilliers <bruno.
42.desthuilli... at websiteburo.invalid> wrote:
> Igor Mikushkin a écrit :
>
> > Hello all!
>
> > I'm a newbie to Python.
>
> Welcome onboard
>
> > Could you please say me when it is better to derive from "object" and
> > when not?
>
> - When not : when using Python >= 3.0, or when already subclassing
> another class.
>
> - When : any other case !-)




More information about the Python-list mailing list