paul bedaride wrote:

it's why I wonder, if this can't be good if metaclass and class decorator have the same
interface, then we can use a class as a metaclass or as a decorator ??

That doesn't make sense -- metaclasses and class decorators
are very different things and have very different capabilities.

There is some overlap between the things they can do, but
trying to unify them would be a mistake.

--
Greg
_______________________________________________
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

Reply via email to