summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-05-09 15:52:02 (GMT)
committerGitHub <noreply@github.com>2019-05-09 15:52:02 (GMT)
commitf00828a742d2e88c910bdfd00f08fcd998554ba5 (patch)
tree3a8b1c942d314019153162b4b56860556eae3a68 /Misc
parent33e067d6a237ced8fd2ead70a461025fd91239be (diff)
downloadcpython-f00828a742d2e88c910bdfd00f08fcd998554ba5.zip
cpython-f00828a742d2e88c910bdfd00f08fcd998554ba5.tar.gz
cpython-f00828a742d2e88c910bdfd00f08fcd998554ba5.tar.bz2
bpo-36851: Clean the frame stack if the execution ends with a return and the stack is not empty (GH-13191)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-05-08-11-42-06.bpo-36851.J7DiCW.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-05-08-11-42-06.bpo-36851.J7DiCW.rst b/Misc/NEWS.d/next/Core and Builtins/2019-05-08-11-42-06.bpo-36851.J7DiCW.rst
new file mode 100644
index 0000000..9973e4e
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-05-08-11-42-06.bpo-36851.J7DiCW.rst
@@ -0,0 +1,2 @@
+The ``FrameType`` stack is now correctly cleaned up if the execution ends
+with a return and the stack is not empty.