I'm sorry if this is a known limitation, but the following doesn't work with IronPython 0.9.3:<br>
<br>
&nbsp; class MyClass:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; def __init__(self, testValue):<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.testValue = testValue<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; def _getValue(self):
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return self.testValue<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value = property(_getValue, doc=&quot;This is documentation&quot;)<br>
<br>
&nbsp; obj = MyClass(&quot;Hello!&quot;)<br>
&nbsp; print obj.value<br>
<br>
It generates the following exception:<br>

<br>
&nbsp;&nbsp;Traceback (most recent call last):<br>
&nbsp;&nbsp;&nbsp;&nbsp; at __main__.Initialize() in C:\IronPython\test.py:line 1<br>
&nbsp;&nbsp;&nbsp;&nbsp; at __main__.MyClass$maker0() in C:\IronPython\test.py:line 7<br>
&nbsp;&nbsp;TypeError: can't set arbitrary attributes on built-in type property
<br>
<br>
I just thought I'd point it out.<br>
<br>
(In addition, running this in IronPythonConsole.exe 0.9.4 gives me an
unhandled exception, as opposed to the nice exception-with-stack-trace
that I used to get, and expect from CPython development. Is this on
purpose?)<br>
<br>
thanks,<br>
<span>john</span>