[IronPython] Odd behaviour for unknown property

Davy Mitchell daftspaniel at gmail.com
Thu Aug 2 23:48:16 CEST 2007

Oh that subject line is clumsy....

Is this a bug (2.0A3)?

import clr

from System import *
from System.Windows.Forms import *

class LDForm(Form):
    def __init__(self):

#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 Mitchell
Blog - http://www.latedecember.co.uk/sites/personal/davy/
Twitter - http://twitter.com/daftspaniel
Skype - daftspaniel

More information about the Ironpython-users mailing list