
July 18, 2009
11:10 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 behavior: http://docs.python.org/reference/compound_stmts.html#the-try-statement If you don't want return used inside finally blocks then tools like pylint or pychecker can be made to detect this.