[IronPython] .NET Attributes
sanxiyn at gmail.com
Tue Mar 28 06:49:27 CEST 2006
2006/3/28, Dino Viehland <dinov at exchange.microsoft.com>:
The second problem is also just as tough, but it's completely
different. How do you even express an attribute on a class? There's
no Python syntax for this so we'd have to add something new. It'd be
great if we could use decorators here, but they don't apply to
classes. So maybe that's something like __attributes__ =
[Serializable, ...] or something along those lines but it's not clear
what's the best way to go here...
* * *
I like __attributes__ solution.
More information about the Ironpython-users