Python: Using continue in a try-finally statement in a loop
From the python docs: When a return, break or continue statement is executed in the try suite of a try…finally statement, the finally clause is also executed βon the way out.β A continue statement is illegal in the finally clause. (The reason is a problem with the current implementation β this restriction may be lifted … Read more