Author ezio.melotti
Recipients dillona, docs@python, ezio.melotti
Date 2011-10-09.21:48:41
SpamBayes Score 1.54137e-05
Marked as misclassified No
Message-id <1318196922.06.0.722736384691.issue13127@psf.upfronthosting.co.za>
In-reply-to
Content
localName is defined with defproperty() in Lib/xml/dom/minidom.py:464 and looking at the definition of defproperty() in  Lib/xml/dom/minicompat.py:97 I think this is supposed to raise an xml.dom.NoModificationAllowedErr exception when someone tries to write on the attribute.  This doesn't seem to happen though.
OTOH 'name' doesn't use defproperty(), so technically it's writable, expect that writing on it has no effect.
This should still be documented, and it would also be good to figure out what's going on with defproperty().
History
Date User Action Args
2011-10-09 21:48:42ezio.melottisetrecipients: + ezio.melotti, docs@python, dillona
2011-10-09 21:48:42ezio.melottisetmessageid: <1318196922.06.0.722736384691.issue13127@psf.upfronthosting.co.za>
2011-10-09 21:48:41ezio.melottilinkissue13127 messages
2011-10-09 21:48:41ezio.melotticreate