New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

'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 issue1542451) 
and there are tests for this.

----------
components: Tests
messages: 309352
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Add tests for 'break' and 'return' inside 'finally' clause
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32478>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to