<div dir="ltr"><div>The following code works in CPython 2.6.2, but is broken in both IPy 2.6 and 2.6.1</div><div><br></div><div>>>> class A(object):</div><div>... def __delattr__(self,name):</div><div>... object.__delattr__(self,name)</div>
<div>...</div><div>>>> a = A()</div><div>>>> a.x = 3</div><div>>>> del a.x</div><div>Traceback (most recent call last):</div><div> File "<stdin>", line 1, in <module></div>
<div> File "<stdin>", line 3, in __delattr__</div><div>AttributeError: 'A' object has no attribute 'x'</div><div><br></div></div>