Struct usages in Python

Alex Gusarov alex.m.gusarov at gmail.com
Thu May 29 03:41:39 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080529/cb26f456/attachment.html>


More information about the Python-list mailing list