PEP 765: Disallow return/break/continue that exit a finally block

Of course.

Yes. That an exception can be suppressed in the absence of an explicit except clause is a bug magnet on the face of it. I’m +1 on the PEP.

8 Likes