
Ezio Melotti <ezio.melotti@gmail.com> added the comment: 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(). ---------- components: +Library (Lib) keywords: +easy nosy: +ezio.melotti stage: -> test needed versions: +Python 2.7 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue13127> _______________________________________