string issue

rbt rbt at athop1.ath.vt.edu
Fri Feb 4 14:49:43 EST 2005


Alan McIntyre wrote:
> I think it's because you're modifying the list as you're iterating over 

In this case then, shouldn't my 'except Exception' raise an error or 
warning like:

"Hey, stupid, you can't iterate and object and change it at the same time!"

Or, perhaps something similar?



More information about the Python-list mailing list