On Mon, 21 Aug 2006 00:40:14 -0700, sc_wizard29 wrote:
> Hi everyone,
>
> I've just finished studying O'Reilly's "Learning python" and since I
> come from the Java world, there are some things that bother me
> concerning python's exception handling.
>
> In Java, all methods must declare the exce
In <[EMAIL PROTECTED]>, sc_wizard29
wrote:
> Also, can someone explain me why there is no try...except...finally
> statement ?
AFAIK historical reasons. There where some concerns about ambiguity. But
in Python 2.5 this form will become legal syntax.
> For example, the following code snippet is
Hi everyone,
I've just finished studying O'Reilly's "Learning python" and since I
come from the Java world, there are some things that bother me
concerning python's exception handling.
In Java, all methods must declare the exceptions throwed (I'm speaking
of checked exceptions)... but this is not