summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorIrit Katriel <iritkatriel@yahoo.com>2020-11-17 19:31:55 (GMT)
committerGitHub <noreply@github.com>2020-11-17 19:31:55 (GMT)
commit48a9c0eb2a3304ea64d1b32fdf9db853d5d8c429 (patch)
treef6ae1333bc97f35c514718d82baf1409cdb22f52 /Misc
parent05a5d697f4f097f37c5c1e2ed0e2338a33c3fb6a (diff)
downloadcpython-48a9c0eb2a3304ea64d1b32fdf9db853d5d8c429.zip
cpython-48a9c0eb2a3304ea64d1b32fdf9db853d5d8c429.tar.gz
cpython-48a9c0eb2a3304ea64d1b32fdf9db853d5d8c429.tar.bz2
[3.9] bpo-39934: Account for control blocks in 'except' in compiler. (GH-22395) (GH-23303)
* bpo-39934: backport PR 22395 to 3.9
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2020-09-24-12-15-45.bpo-39934.YVHTCF.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-09-24-12-15-45.bpo-39934.YVHTCF.rst b/Misc/NEWS.d/next/Core and Builtins/2020-09-24-12-15-45.bpo-39934.YVHTCF.rst
new file mode 100644
index 0000000..92cd1ba
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2020-09-24-12-15-45.bpo-39934.YVHTCF.rst
@@ -0,0 +1,3 @@
+Correctly count control blocks in 'except' in compiler. Ensures that a
+syntax error, rather a fatal error, occurs for deeply nested, named
+exception handlers.