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

This has caused CI failures for someone testing 3.14rc1

I’m not sure what I should recommend to this user other than “now you need to suppress specific warnings in your CI at a level above python”; It also feels wrong to change code that is working as intended because of what amounts to a linter warning with no specific plan to actually make it an error.

3 Likes