"Paul McGuire" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Terry - > > If setting up a try-block is as fast (or "takes as long") as one > iteration loop, then wont putting a try-block inside a loop double the > execution time?
It will double (more or less) the loop overhead. The effect of that depends on the overhead/payload ratio. And, I was responding to the idea that adding a loop to avoid most try statements would be significantly faster. Terry J. Reedy -- http://mail.python.org/mailman/listinfo/python-list