This is definitely a bug - I've filed this as http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=27247
Thanks for the report! From: [email protected] [mailto:[email protected]] On Behalf Of Idan Zaltzberg Sent: Sunday, May 30, 2010 6:50 AM To: Discussion of IronPython Subject: [IronPython] possible bug with __delattr__ in Ipy 2.6 Hi, In IronPython 2.6 I ran the following code: class A(object): def f(self): self.__delattr__('x') a = A() a.x=1 a.f() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 3, in f AttributeError: 'A' object has no attribute 'x' This code runs ok on cpython so I'm guessing this is bug...
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
