summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorAndrew Kuchling <amk@amk.ca>2013-09-15 22:15:56 (GMT)
committerAndrew Kuchling <amk@amk.ca>2013-09-15 22:15:56 (GMT)
commit173a157e725579eec1f28f8c9d53d6761ba6c79f (patch)
tree98be7afea0a4f929f07193d94ffe86cc0e7739e0 /Doc/whatsnew
parent8408dc581e2baaa306b57f14486cfa013fd68c68 (diff)
downloadcpython-173a157e725579eec1f28f8c9d53d6761ba6c79f.zip
cpython-173a157e725579eec1f28f8c9d53d6761ba6c79f.tar.gz
cpython-173a157e725579eec1f28f8c9d53d6761ba6c79f.tar.bz2
#1565525: Add traceback.clear_frames() helper function to clear locals ref'd by a traceback
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.4.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index e91ce2a..89912a9 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -377,6 +377,14 @@ plain tuple. (Contributed by Claudiu Popa in :issue:`18901`.)
:meth:`sunau.open` now supports the context manager protocol (:issue:`18878`).
+traceback
+---------
+
+A new :func:`traceback.clear_frames` function takes a traceback object
+and clears the local variables in all of the frames it references,
+reducing the amount of memory consumed (:issue:`1565525`).
+
+
urllib
------