Éric Araujo <mer...@netwok.org> added the comment: Maybe there is a section in the documentation that could be enhanced to make readers expect this behavior? (reference for list or tutorial)
---------- nosy: +eric.araujo title: list.startswith() and list.remove() fails to catch consecutive items in a list. -> Warn against removing elements from a list (or seq) while iterating _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15214> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com