On Jul 3, 3:11 pm, Bruno Desthuilliers <bruno.
[EMAIL PROTECTED]> wrote:
> Quek a écrit :
>
> > Hi all,
>
> > I'm reallynewto Python and I've been reading up some texts on older
> > versions of Python (2.2 to be specific).
>
> > The text briefly mentionednewstyleand classic classes.
>
> > I'd really like to know in the current context of Python 2.5, besides
> > in the cases of multi-inheritance, where would I usenewstyle
> > classes?
>
> Everywhere you don't have to support compat with ages-old versions of
> Python. MI is not the main point of newstyle classes (FWIW, you can do
> MI with old-styleclasses too), they have quite a lot more to offer.
> Consider "classic" classes as a legacy feature, period.

Thanks everyone.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to