[Python-3000] PEP for Metaclasses in Python 3000

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Mar 11 06:15:34 CET 2007


Josiah Carlson wrote:

> As such, the compiler, etc., needs to be taught to pull out the
> __metaclass__ definition before executing the class body, but that's
> better than mucking with the syntax of class foo(...).

I'd be happy with that.

Also, for the name of the method for creating the
dict, I suggest __newdict__.

--
Greg


More information about the Python-3000 mailing list