The following code works in CPython 2.6.2, but is broken in both IPy 2.6 and 2.6.1
>>> class A(object): ... def __delattr__(self,name): ... object.__delattr__(self,name) ... >>> a = A() >>> a.x = 3 >>> del a.x Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 3, in __delattr__ AttributeError: 'A' object has no attribute 'x'
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
