Oh that subject line is clumsy....
Is this a bug (2.0A3)?
import clr
clr.AddReference('System.Windows.Forms')
from System import *
from System.Windows.Forms import *
class LDForm(Form):
def __init__(self):
pass
#This reports an AttributeError the method as read only.
test = LDForm()
print test.Idontexist
#This reports an AttributeError method as not existing as expected.
test = Form()
print test.Idontexist
Not sure if this is related to using or subclassing .Net objects - its
just what I was using at the time.
Davy
--
Davy Mitchell
Blog - http://www.latedecember.co.uk/sites/personal/davy/
Twitter - http://twitter.com/daftspaniel
Skype - daftspaniel
needgod.com
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com