homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: xml.dom.minidom.Node.replaceChild(obj, x, x) removes child x
Type: Stage:
Components: XML Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, xitnalta
Priority: normal Keywords: patch

Created on 2005年01月01日 19:43 by xitnalta, last changed 2022年04月11日 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
minidom.py.patch xitnalta, 2005年01月01日 19:43
Messages (3)
msg47443 - (view) Author: Felix Rabe (xitnalta) Date: 2005年01月01日 19:43
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.
msg47444 - (view) Author: Felix Rabe (xitnalta) Date: 2005年01月01日 19:45
Logged In: YES 
user_id=163986
The patch applies to CVS python/dist/src checked out half an
hour ago.
msg47445 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2005年11月22日 19:05
Logged In: YES 
user_id=11375
Good catch; thanks! Patch applied to HEAD and to
release24-maint.
History
Date User Action Args
2022年04月11日 14:56:08adminsetgithub: 41386
2005年01月01日 19:43:57xitnaltacreate

AltStyle によって変換されたページ (->オリジナル) /