On Mar 16, 2007, at 5:02 PM, MenTaLguY wrote:
> It's disallowed by design -- removing elements in the midst of  
> iteration would be a bit like trying to remove carpet tiles while  
> you are standing on them.

Maybe better to say that the behavior is implementation
dependent and therefore should be avoided.

The word "disallow" implies that it is syntactically
invalid or that it will raise an exception yet, as was
shown by other posters, neither occurs.

Gary Wright