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

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