summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-05-10 12:36:08 (GMT)
committerGitHub <noreply@github.com>2022-05-10 12:36:08 (GMT)
commit7c6b7ade8df35355484d3944779fe35dcc560aab (patch)
treebd57dc5a2ef5082cae83b22b14495b547b483c27 /Misc
parenteef47d5bc79469c2d5328d6f5a9732e44a49dd5a (diff)
downloadcpython-7c6b7ade8df35355484d3944779fe35dcc560aab.zip
cpython-7c6b7ade8df35355484d3944779fe35dcc560aab.tar.gz
cpython-7c6b7ade8df35355484d3944779fe35dcc560aab.tar.bz2
gh-92619: Fix bug where the compiler duplicates exit blocks unnecessarily (GH-92620)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-05-10-11-34-35.gh-issue-92619.u0V0lY.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-05-10-11-34-35.gh-issue-92619.u0V0lY.rst b/Misc/NEWS.d/next/Core and Builtins/2022-05-10-11-34-35.gh-issue-92619.u0V0lY.rst
new file mode 100644
index 0000000..dfc9c0d
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-05-10-11-34-35.gh-issue-92619.u0V0lY.rst
@@ -0,0 +1 @@
+Make the compiler duplicate an exit block only if none of its instructions have a lineno (previously only the first instruction in the block was checked, leading to unnecessarily duplicated blocks).