[IronPython] Decorators on classes

Michael Foord fuzzyman at voidspace.org.uk
Mon Feb 4 19:58:05 CET 2008


Class decorators will be in Python 2.6 - but there is a big difference 
between a Python runtime decorator and .NET compile time attributes. Is 
it possible to attach attributes at runtime using the reflection API?

Michael
http://www.manning.com/foord

Keith J. Farmer wrote:
> Can I resurrect this forgotten soul?  http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=13583
>  
> Having just finished working on LINQ to SQL, I'm convinced that future LINQ providers will be making heavy use of .NET attributes not just on properties, but on classes themselves.  Being able to express these attributes in IronPython is a tremendous bonus.  That there be one and only one way to express these is paramount.
>  
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>   




More information about the Ironpython-users mailing list