Chris Jerdonek added the comment: > It will be nice somewhere in deep clarify for experts what happens with list > iterator if the list changed.
There is a note somewhat to this effect here: http://docs.python.org/dev/reference/compound_stmts.html#the-for-statement "Note There is a subtlety when the sequence is being modified by the loop...." ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16225> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com