Classic class conversion

2006-04-24 Thread Kay Schluehr
Just reasoning about conversion of classic to new style classes (
keeping deprecation of ClCl in Py3K in mind ) I wonder if there is a
metaclass that can be used to express the semantics of ClCl in terms of
new style classes? Intuitively I would expect that there is quite a lot
of Python semantics that could be expressed in pure Python - of course
without circular definitions.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Classic class conversion

2006-04-24 Thread Michael Spencer
Kay Schluehr wrote:
> Just reasoning about conversion of classic to new style classes (
> keeping deprecation of ClCl in Py3K in mind ) I wonder if there is a
> metaclass that can be used to express the semantics of ClCl in terms of
> new style classes? Intuitively I would expect that there is quite a lot
> of Python semantics that could be expressed in pure Python - of course
> without circular definitions.
> 
I think pypy has a pure python implementation of old-style classes.

Michael

-- 
http://mail.python.org/mailman/listinfo/python-list