thanks guys. Three good answers, each slightly different, but giving me good food for thought.
Obviously my example was a trivial one, but I wanted to isolate the behaviour I'm seeing in my real app. I now have some good ideas for moving forward! cheers S -- http://mail.python.org/mailman/listinfo/python-list