Why new Python 2.5 feature "class C()" return old-style class ?

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Tue Apr 11 20:57:33 EDT 2006


Wildemar Wildenburger a écrit :
> Aahz wrote:
> 
>> Classic classes are *NOT* deprecated.
> 
> I'm surprised ...
> So there will be two (in most cases subtly) different classes of classes 
> (so to speak) for all eternity?
> 
> Why is that? Do classic classes have some advantage over new style ones? 
> If so, what are they?

I'm afraid the only advantage is that they save you a few keystrokes !-)



More information about the Python-list mailing list