RE: [Python-Dev] Re: A cute new way to get an infinite loop
Sept. 24, 2004
1:17 a.m.
Terry Reedy wrote:
So, are things like this a programming bug, interpreter bug, or language definition bug? or just a 'gotcha'?
Gotcha. In pretty much every language, you have to be careful about modifying what you're iterating over. I don't see that Python should be any different ;) However, Tim's example is a bit less obvious that you are modifying the thing you're iterating over ... Hence the "cuteness" IMO. Tim Delaney
7994
Age (days ago)
7994
Last active (days ago)
0 comments
1 participants
participants (1)
-
Delaney, Timothy C (Timothy)