Guido van Rossum wrote: > I'm out of ideas here. But of all these, str.find is probably still > the worst -- I've flagged bugs caused by it too many times to count. Could a with-statement be used here somehow? with finding(x, s) as i: ... -- Greg