Patches item #1094164, was opened at 2005-01-01 20:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1094164&group_id=5470

Category: XML
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Felix Rabe (xitnalta)
Assigned to: Nobody/Anonymous (nobody)
Summary: xml.dom.minidom.Node.replaceChild(obj, x, x) removes child x

Initial Comment:
A child was removed from a node if an attempt was made
to replace it with itself.  The cause was the
comparison "if newChild is oldChild:" happening too
late in the function's code, so I moved it before the
"newChild.parentNode" check.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1094164&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to