Ari Krupnik <a...@lib.aero> added the comment: 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) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33274> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com