Raising objects

Asun Friere afriere at yahoo.co.uk
Wed Apr 30 03:21:01 EDT 2003


Jan Olderdissen <jolderdissen at ixiacom.com> wrote in message news:<tpltav0bbeehseajdo3osampi7flsvhk6g at 4ax.com>...

> That said, I question the point of deriving from object as classes
> (and in fact all objects as far as I can tell) are derived from object
> as it is. Since object isn't a class, deriving from it probably is
> bogus to begin with. 

Surely deriving from 'object' would have to be the most commonly
method of ensuring that your class is a NewStyleClass, no?




More information about the Python-list mailing list