[Python-Dev] Class decorators (original) (raw)

Mike Krell python.10.laughingboy at spamgourmet.com
Mon Mar 27 21:20:19 CEST 2006


Greg Ewing <greg.ewing canterbury.ac.nz> writes:

I've just been playing around with metaclasses, and I think I've stumbled across a reason for having class decorators as an alternative to metaclasses for some purposes.

There has also been discussion on the IronPython mailing list that class decorators would be a very useful syntax for expressing .NET attributes.

http://lists.ironpython.com/pipermail/users-ironpython.com/2006-March/002007.html

Mike



More information about the Python-Dev mailing list