]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyTraceMalloc C API functions (#106324)
authorVictor Stinner <vstinner@python.org>
Sun, 2 Jul 2023 00:49:18 +0000 (02:49 +0200)
committerGitHub <noreply@github.com>
Sun, 2 Jul 2023 00:49:18 +0000 (00:49 +0000)
commitfeb51f3a6443d7c0148e2e7be2ed58b4c69fa265
tree370ec2982ab329ad0159fe6b4ffdaea541984468
parent18b1fdebe0cd5e601aa341227c13ec9d89bdf32c
gh-106320: Remove private _PyTraceMalloc C API functions (#106324)

* Remove private _PyTraceMalloc C API functions: move them to the
  internal C API.
* Don't export most of these functions anymore, but still export
  _PyTraceMalloc_GetTraceback() used by tests.
* Rename Include/tracemalloc.h to Include/cpython/tracemalloc.h
Include/Python.h
Include/cpython/tracemalloc.h [new file with mode: 0644]
Include/internal/pycore_tracemalloc.h
Include/tracemalloc.h [deleted file]
Lib/test/test_tracemalloc.py
Makefile.pre.in
Modules/_testcapi/mem.c
Modules/_testinternalcapi.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters