]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-29564:_PyMem_DumpTraceback() suggests enabling tracemalloc (GH-10510) (GH-10518)
authorVictor Stinner <vstinner@redhat.com>
Tue, 13 Nov 2018 15:13:17 +0000 (16:13 +0100)
committerGitHub <noreply@github.com>
Tue, 13 Nov 2018 15:13:17 +0000 (16:13 +0100)
commitae8878176d6dc1878d1e792ac4308ca1920b103b
tree5fc0f2bd9731d652a5ab136d120f4966499a0ffe
parent60a6baef4005a32fb4cf45e15942ea18e59ecf19
bpo-29564:_PyMem_DumpTraceback() suggests enabling tracemalloc (GH-10510) (GH-10518)

If tracemalloc is not tracing Python memory allocations,
_PyMem_DumpTraceback() now suggests to enable tracemalloc
to get the traceback where the memory block has been allocated.
Lib/test/test_capi.py
Modules/_tracemalloc.c