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

The short answer is that the PEP would be rejected for backwards compatibility concerns.

Would we do it in a new language? What’s the use case for this?

2 Likes