Author iter
Recipients iter, r.david.murray, terry.reedy
Date 2018-04-21.01:17:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524273470.31.0.682650639539.issue33274@psf.upfronthosting.co.za>
In-reply-to
Content
I guess the main question if whether minidom wants to adhere to the standard or be pythonic, and it's not up to me to decide, although personally I like standards.

The common use case for DOM functions returning the relevant nodes is for the caller to chain calls, e.g.,

e1.setAttributeNode(e0.removeAttributeNode(e0.getAttributeNode("a")))

instead of

a=e0.getAttributeNode("foo")
e0.removeAttributeNode(a)
e1.setAttributeNode(a)
History
Date User Action Args
2018-04-21 01:17:50itersetrecipients: + iter, terry.reedy, r.david.murray
2018-04-21 01:17:50itersetmessageid: <1524273470.31.0.682650639539.issue33274@psf.upfronthosting.co.za>
2018-04-21 01:17:50iterlinkissue33274 messages
2018-04-21 01:17:49itercreate