470,561 Members | 1,940 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,561 developers. It's quick & easy.

Classic class conversion

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.

Apr 24 '06 #1
1 1134
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

Apr 24 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Simon Wittber | last post: by
1 post views Thread by jason | last post: by
4 posts views Thread by jason | last post: by
14 posts views Thread by Merovingian | last post: by
19 posts views Thread by jan.loucka | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.