try/except/finally

Marko Rauhamaa marko at pacujo.net
Mon Jun 9 05:40:34 EDT 2014


Philip Shaw <jnufcvyvuc at tznvy.pbz>:

> OTOH, it could just be that Guido didn't think of banning [return from
> finally] when exceptions were first added and doesn't want to
> introduce an incompatability later.

You don't have to ban all nonsensical things. Most guns allow you to
shoot yourself in the foot, even those with static type checking.


Marko



More information about the Python-list mailing list