]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Patch #102492, fixing bug #116677:
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 20 Dec 2000 14:47:24 +0000 (14:47 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 20 Dec 2000 14:47:24 +0000 (14:47 +0000)
commit04a45e9bb159f348ba722d0b49f9837f91cceaea
tree0d0e69ab939dc9bfa83a378bdbfa7467525c40a1
parent34c20cf705045ab6e496c1271fb522cfabd409e5
Patch #102492, fixing bug #116677:
    give minidom.py behaviour that complies with the DOM Level 1 REC,
    which says that when a node newChild is added to the tree, "if the
    newChild is already in the tree, it is first removed."

    pulldom.py is patched to use the public minidom interface instead
    of setting .parentNode itself.  Possibly this reduces pulldom's
    efficiency; someone else will have to pronounce on that.
Lib/xml/dom/minidom.py
Lib/xml/dom/pulldom.py