I assume it should act the same was as it would if iterating over a list then: that is, any destructive operations can cause unexpected behavior such as this shows (iteration skips an ele due to the removal of a prior ele):
```
>>> a = [1, 2, 3]
>>> for ele in a:
...     print ele
...     a.remove(ele)
... 
1
3
>>> a
[2]
>>> 

```