]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-29564:_PyMem_DumpTraceback() suggests enabling tracemalloc (GH-10510) (GH-10517)
authorVictor Stinner <vstinner@redhat.com>
Tue, 13 Nov 2018 14:50:56 +0000 (15:50 +0100)
committerGitHub <noreply@github.com>
Tue, 13 Nov 2018 14:50:56 +0000 (15:50 +0100)
commitd57a3e5d03efdda6247c27bd682872edf399d88b
treeebe534112b37d06155291a82382ea0b0313a73e6
parent55b4771d5d18d5ff7c095aa1ab750fe0c8bb5e67
bpo-29564:_PyMem_DumpTraceback() suggests enabling tracemalloc (GH-10510) (GH-10517)

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