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.

Author txomon
Recipients ezio.melotti, txomon
Date 2013-01-08.10:32:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CALZVap=V7xVUJK5YYG7GkEcjmD97KUUvx34f1+vfighEUfyBeA@mail.gmail.com>
In-reply-to <1357615469.35.0.870569543752.issue16890@psf.upfronthosting.co.za>
Content
I know that is the problem, but that shouldn't happen! if you remove a item
from a list, that doesn't happen. That is why I tagged the error as
minidom's
El 08/01/2013 04:24, "Ezio Melotti" <report@bugs.python.org> escribió:

>
> Ezio Melotti added the comment:
>
> The problem is that you are mutating parent.childNodes while you are
> iterating on it.  Iterating over a copy seems to solve the problem.
>
> ----------
> nosy: +ezio.melotti
> resolution:  -> invalid
> stage:  -> committed/rejected
> status: open -> closed
> type:  -> behavior
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue16890>
> _______________________________________
>
History
Date User Action Args
2013-01-08 10:32:17txomonsetrecipients: + txomon, ezio.melotti
2013-01-08 10:32:17txomonlinkissue16890 messages
2013-01-08 10:32:17txomoncreate