summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2019-10-15 12:00:16 (GMT)
committerVictor Stinner <vstinner@python.org>2019-10-15 12:00:16 (GMT)
commit8d59eb1b66c51b2b918da9881c57d07d08df43b7 (patch)
tree7833df22bb4e8cd3779dfa4a7d5ee2a206ec0b90 /Misc
parentf3ef06a7cb347ab7bd3cc2b0b3dcebe4f9ff36f9 (diff)
downloadcpython-8d59eb1b66c51b2b918da9881c57d07d08df43b7.zip
cpython-8d59eb1b66c51b2b918da9881c57d07d08df43b7.tar.gz
cpython-8d59eb1b66c51b2b918da9881c57d07d08df43b7.tar.bz2
bpo-37961, tracemalloc: add Traceback.total_nframe (GH-15545)
Add a total_nframe field to the traces collected by the tracemalloc module. This field indicates the original number of frames before it was truncated.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-08-27-10-30-44.bpo-37961.4nm0zZ.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-08-27-10-30-44.bpo-37961.4nm0zZ.rst b/Misc/NEWS.d/next/Library/2019-08-27-10-30-44.bpo-37961.4nm0zZ.rst
new file mode 100644
index 0000000..ebfff77
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-08-27-10-30-44.bpo-37961.4nm0zZ.rst
@@ -0,0 +1,2 @@
+Add a ``total_nframe`` field to the traces collected by the tracemalloc module.
+This field indicates the original number of frames before it was truncated.