Dan Sommers wrote: > Just do it. If one of foo's callers passes in a non-iterable, foo will > raise an exception, and you'll catch it during testing
That's exactly what I don't want. I don't want an exception, instead I want to check to see if it's an iterable....if it is continue, if not return an error code. I can't catch it during testing since this is going to be used by other people. Thanks for the suggestion though. -- http://mail.python.org/mailman/listinfo/python-list