Message318880
I added a test case and a News entry per serhiy.storchaka's request.
https://github.com/python/cpython/pull/7465
I agree with fdrake's concerns about DOM's usefulness. DOM is not very Pythonic. I note that as long as Python has a DOM implementation, it follows the spec fairly closely. Element.removeAttributeNode() is the exception. All other minidom mutators (unpythonically) return the values that the standard requires, including the sister mutator setAttributeNode:
Node.insertBefore()
Node.appendChild()
Node.replaceChild()
Node.removeChild()
NamedNodeMap.removeNamedItem()
NamedNodeMap.removeNamedItemNS()
NamedNodeMap.setNamedItem()
Element.setAttributeNode()
Document.removeChild()
Document.renameNode() |
|
Date |
User |
Action |
Args |
2018-06-07 03:15:26 | iter | set | recipients:
+ iter, fdrake, terry.reedy, r.david.murray, serhiy.storchaka |
2018-06-07 03:15:26 | iter | set | messageid: <1528341326.06.0.592728768989.issue33274@psf.upfronthosting.co.za> |
2018-06-07 03:15:25 | iter | link | issue33274 messages |
2018-06-07 03:15:25 | iter | create | |
|