Mix-In Class Methods At Run-Time

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Mon Jun 26 05:24:42 EDT 2006


I can't give much answers, I am not that expert yet.

Bruno Desthuilliers:
> newstyle classes can do whatever oldstyle classes
> did, *and much more* (descriptors and usable
> metaclasses) - and they are somewhat faster too.

In the past I have done few tests, and it seemed that new style classes
are a bit slower (but the difference doesn't make much difference).
Maybe for Py2.5 the situation will be different.

Bye,
bearophile




More information about the Python-list mailing list