diff options
author | Julien Danjou <julien@danjou.info> | 2019-10-15 12:00:16 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@python.org> | 2019-10-15 12:00:16 (GMT) |
commit | 8d59eb1b66c51b2b918da9881c57d07d08df43b7 (patch) | |
tree | 7833df22bb4e8cd3779dfa4a7d5ee2a206ec0b90 /Misc | |
parent | f3ef06a7cb347ab7bd3cc2b0b3dcebe4f9ff36f9 (diff) | |
download | cpython-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.rst | 2 |
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. |