[IronPython] .NET Attribute None
dinov at exchange.microsoft.com
Fri Jun 30 09:48:48 PDT 2006
You could use getattr / setattr to access this off the type:
(we do have a bug on this but currently it's marked as low priority so we may or may not get to fixing this for 1.0).
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Michael Foord
Sent: Friday, June 30, 2006 9:37 AM
To: Discussion of IronPython
Subject: [IronPython] .NET Attribute None
We are using some third party .NET classes. One of these defines an enumeration with various members, one of which is "None".
In CPython "object.None" would not be a valid identifier, however in IronPython this works fine. Believe me, we don't want you to fix this. :-)
However, if this did become invalid how would we access the property ?
All the best,
users mailing list
users at lists.ironpython.com
More information about the users