summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-08-24 10:11:52 (GMT)
committerGitHub <noreply@github.com>2019-08-24 10:11:52 (GMT)
commitef61c524ddeeb56da3858b86e349e7288d68178e (patch)
treee8a9defe85faff05464db6335140eb0990499f15 /Misc
parente9c90aa43144b0be1e4e393e8cb549573437a5da (diff)
downloadcpython-ef61c524ddeeb56da3858b86e349e7288d68178e.zip
cpython-ef61c524ddeeb56da3858b86e349e7288d68178e.tar.gz
cpython-ef61c524ddeeb56da3858b86e349e7288d68178e.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-08-17-18-41-59.bpo-37830.fNfMbz.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-08-17-18-41-59.bpo-37830.fNfMbz.rst b/Misc/NEWS.d/next/Core and Builtins/2019-08-17-18-41-59.bpo-37830.fNfMbz.rst
new file mode 100644
index 0000000..76f4bf6
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-08-17-18-41-59.bpo-37830.fNfMbz.rst
@@ -0,0 +1,3 @@
+Fixed compilation of :keyword:`break` and :keyword:`continue` in the
+:keyword:`finally` block when the corresponding :keyword:`try` block
+contains :keyword:`return` with a non-constant value.