Just wondering whether anyone has discussed using decorator
syntax to effect metaclass processing. E.g.

    @MC
    class Foo(object):
        pass

would have the same effect as

    class Foo(object):
        __metaclass__ = MC
        pass

ISTM fairly analogous to function decoration, just
differing in the arguments passed.

Regards,
Bengt Richter
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to