[Python-Dev] Class decorators

Samuele Pedroni pedronis at strakt.com
Tue Mar 28 19:41:12 CEST 2006


Mike Krell wrote:

>Greg Ewing <greg.ewing <at> 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 
>  
>
the same is true for Jython and Java annotations.


More information about the Python-Dev mailing list