You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'break' and 'return' are never used inside 'finally' clause in the stdlib. Therefore these cases are not covered by tests even implicitly. The proposed patch adds explicit tests for them.
'continue' inside 'finally' clause currently is prohibited (see bpo-1542451) and there are tests for this.
New changeset 7cc42c3 by Serhiy Storchaka in branch 'master': bpo-32478: Add tests for 'break' and 'return' inside 'finally' clause. (bpo-5078) 7cc42c3
New changeset aea95c2 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': bpo-32478: Add tests for 'break' and 'return' inside 'finally' clause. (GH-5078) (bpo-5083) aea95c2
New changeset b495377 by Serhiy Storchaka in branch '2.7':
[2.7] bpo-32478: Add tests for 'break' and 'return' inside 'finally' clause. (GH-5078). (bpo-5084) b495377
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: