]> granicus.if.org Git - python/commit
[3.8] bpo-37830: Fix compilation of break and continue in finally. (GH-15320) (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 24 Aug 2019 10:41:53 +0000 (13:41 +0300)
committerGitHub <noreply@github.com>
Sat, 24 Aug 2019 10:41:53 +0000 (13:41 +0300)
commited146b52a3b6537689324e3bd9952055f9c6b43d
tree7774469736dadc9848896f83b3669ad831ec8a32
parent920ec4b7763d64b3742d7ddd339ad11cdbec62e9
[3.8] bpo-37830: Fix compilation of break and continue in finally. (GH-15320) (GH-15456)

Fix compilation of "break" and "continue" in the
"finally" block when the corresponding "try" block
contains "return" with a non-constant value.
(cherry picked from commit ef61c524ddeeb56da3858b86e349e7288d68178e)
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