New classes in 2.2
Aahz
aahz at pythoncraft.com
Sat Apr 6 16:11:04 EST 2002
In article <un0wglgqf.fsf at online.no>,
Syver Enstad <syver-en+usenet at online.no> wrote:
>
>I have to admit that I am excited about the revisions to pythons
>object model. I hope that the current state of affairs where there are
>two kinds of classes will eventually fade away, as it seems quite ugly
>at the time being (wouldn't want to be a new to Python just now). It
>would be sad if Python we're to develop along the lines as C++, where
>there seems to be no obvious way to do even the simplest of things (in
>my view, even though I think it's a fascinating language, my main
>language in fact until I discovered Python).
Python 3.0 will get rid of "classic" classes entirely. Right now, we're
in a transitional phase where we're experimenting with the precise
semantics for new-style classes. Guido hasn't said, but I'll bet that
2.4 or 2.5 will be the last of the 2.x line.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"There are times when effort is important and necessary, but this should
not be taken as any kind of moral imperative." --jdecker
More information about the Python-list
mailing list