]> granicus.if.org Git - python/commit
bpo-37830: Fix compilation of break and continue in finally. (GH-15320)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 24 Aug 2019 10:11:52 +0000 (13:11 +0300)
committerGitHub <noreply@github.com>
Sat, 24 Aug 2019 10:11:52 +0000 (13:11 +0300)
commitef61c524ddeeb56da3858b86e349e7288d68178e
treee8a9defe85faff05464db6335140eb0990499f15
parente9c90aa43144b0be1e4e393e8cb549573437a5da
bpo-37830: Fix compilation of break and continue in finally. (GH-15320)

Fix compilation of "break" and "continue" in the
"finally" block when the corresponding "try" block
contains "return" with a non-constant value.
Lib/importlib/_bootstrap_external.py
Lib/test/test_dis.py
Lib/test/test_grammar.py
Lib/test/test_importlib/test_util.py
Misc/NEWS.d/next/Core and Builtins/2019-08-17-18-41-59.bpo-37830.fNfMbz.rst [new file with mode: 0644]
Objects/frameobject.c
PC/launcher.c
Python/compile.c
Python/importlib.h
Python/importlib_external.h
Python/importlib_zipimport.h