18 Jul
2009
18 Jul
'09
11:18 p.m.
On Jul 17, 8:18 pm, MRAB <pyt...@mrabarnett.plus.com> wrote:
Isn't Python for consenting adults, or something like that? :-)
I agree. And the language reference does shed some light on this: http://docs.python.org/reference/compound_stmts.html#the-try-statement There are a lot of other things which are bad ideas as well. If you personally don't want to permit return inside finally blocks, tools like pylint or pychecker can be made to verify this.