Thank you everybody for the informative replies. I'll have to comb my code for all the instances of "item in sequence" statement because I suspect some of them are as unsafe as my first example. Oh well. One more lesson learned.
Thank you again. Manu -- http://mail.python.org/mailman/listinfo/python-list