Author urjitsb87
Recipients dillona, docs@python, ezio.melotti, terry.reedy, urjitsb87
Date 2011-12-03.09:56:29
SpamBayes Score 3.9212e-12
Marked as misclassified No
Message-id <>
Using the same code example as above, I added a simple print statement in the set method being defined in the defproperty and it fired correctly for -

**My print statement:**in defproperty set for name: attributes
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/urjit/code/mercurial/python/cpython/Lib/xml/dom/", line 106, in set
    "attempt to modify read-only attribute " + repr(name))
xml.dom.NoModificationAllowedErr: attempt to modify read-only attribute 'attributes'

The getter seems to work fine for localName but the setter somehow does not fire.

I have a fix for this but when I am running the test on my ubuntu vm, it doesnt go beyond test_sndhdr. However, when I run that test directly, it is successful. I can submit a patch if this problem is fixed.
Date User Action Args
2011-12-03 09:56:30urjitsb87setrecipients: + urjitsb87, terry.reedy, ezio.melotti, docs@python, dillona
2011-12-03 09:56:30urjitsb87setmessageid: <>
2011-12-03 09:56:30urjitsb87linkissue13127 messages
2011-12-03 09:56:29urjitsb87create