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

Reply via email to