[issue1456] unexpected iterator behavior with removal

2007-11-17 Thread Christian Heimes
Christian Heimes added the comment: Closed as discussed on IRC. -- nosy: +tiran resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1456] unexpected iterator behavior with removal

2007-11-17 Thread Joseph Armbruster
New submission from Joseph Armbruster: Trunk Revision: 58651 Example of potential issue: >>> a = [1,2,3,4,5] >>> >>> for x in a: ... a.remove(x) ... >>> >>> a [2, 4] If this is the expected behavior of iteration in this case, my apologies. If this is not, I believe the issue lies in that l