[Python-ideas] Make return inside a finally a SyntaxError

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jul 18 05:07:03 CEST 2009


Michael wrote:
> Here are two examples of why allowing return inside a finally block is  
> a bad idea:

Don't do those things, then!

Nobody is *forcing* you to write returns inside
finally blocks.

-- 
Greg



More information about the Python-ideas mailing list