catching exceptions from an except: block

Arnaud Delobelle arnodel at
Wed Mar 7 21:09:07 CET 2007

On 7 Mar, 19:26, "Miki" <miki.teb... at> wrote:
> Hello Arnaud,

Hi Miki

> Exceptions are for error handling, not flow control.

Maybe but it's not always that clear cut! As error handling is a form
of flow control the two have to meet somewhere.

> As a side note, try to avoid "catch:", always catch explicit
> exceptions.

I didn't specify what I wanted to catch because it didn't feel it was
relevant to the problem.



More information about the Python-list mailing list