new-style classes VS classic-classes
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:
>what really interests me:
>1. is the new way slower than the old?
>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
You can't use new-style classes for exceptions. Other than that, not
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Project Vote Smart: http://www.vote-smart.org/
More information about the Python-list