Struct usages in Python

Alex Gusarov alex.m.gusarov at gmail.com
Thu May 29 03:50:19 EDT 2008


> Yes. That is the somewhat unfortunate difference between new-style and old-style classes.
> Use new-style if you can, and that means that "object" must be part of the inheritance graph.

...

>    You are wrong for Python 2.X, but right for Python 3 where old-style
>
>    classes are gone for good.

Thanks, I don't knew it before and it's a sensitive information for me.

--
Best regards, Alex Gusarov



More information about the Python-list mailing list