new-style classes VS classic-classes

Aahz aahz at pythoncraft.com
Wed Oct 16 20:58:39 CEST 2002


In article <mailman.1034762806.6034.python-list at python.org>,
gabor  <gabor at realtime.sk> wrote:
>
>i've read all the documentation but i'm still not sure about this:

Which documentation?

>what really interests me:
>1. is the new way slower than the old?

Not really.

>2. takes up more memory?

Nope; in fact, it can save memory.

>2. is there any reason not to use the new-style classes ( except
>backwards-compatibility)?

You can't use new-style classes for exceptions.  Other than that, not
much reason.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Project Vote Smart: http://www.vote-smart.org/



More information about the Python-list mailing list