Greg Ewing schrieb: > Some more metaclass syntax ideas: > > class Foo[Meta](bases): > ... > > Meta class Foo(bases): > ... > > although I don't like the way the latter moves the > 'class' keyword away from the beginning.
You could even unify metaclass and class decorator, if you alter the latter's definition; give it not a "class" argument, but "type", "name", "bases" and "dict" and have it return the same, but possibly altered or different objects. :D Georg _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
