On Wed, 08 Sep 2010 16:17:02 -0400, Terry Reedy wrote: > On 9/7/2010 9:40 PM, Gregory Ewing wrote: >> Thomas Jollans wrote: >> >>> Hmm. Modifying an object while iterating over it isn't a great idea, >>> ever: >> >> I wouldn't say never. > > How about "Modifying a collection while iterating over it without > understanding the dangers is a bad idea."
"... unless you're being paid by the hour for debugging your code." *wink* -- Steven -- http://mail.python.org/mailman/listinfo/python-list