[issue41892] use both "for in" and "ElementTree.remove" has a index bug

Ned Deily report at bugs.python.org
Sun Oct 4 19:13:53 EDT 2020


Ned Deily <nad at python.org> added the comment:


New changeset 40db798692ca783fc2163656f196ac77e8b9e792 by scoder in branch 'master':
bpo-41892: Clarify that an example in the ElementTree docs explicitly avoids modifying an XML tree while iterating over it. (GH-22464)
https://github.com/python/cpython/commit/40db798692ca783fc2163656f196ac77e8b9e792


----------
nosy: +ned.deily

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41892>
_______________________________________


More information about the Python-bugs-list mailing list