Ezio Melotti added the comment: It happens with lists too: >>> l = list(range(10)) >>> for x in l: ... l.remove(x) ... >>> l [1, 3, 5, 7, 9]
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16890> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com