Skip to content

gh-106320: Remove private _PyTraceMalloc C API functions - #106324

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:pycore_tracemalloc
Jul 2, 2023
Merged

gh-106320: Remove private _PyTraceMalloc C API functions#106324
vstinner merged 1 commit into
python:mainfrom
vstinner:pycore_tracemalloc

Conversation

@vstinner

@vstinnervstinner commented Jul 2, 2023

Copy link
Copy Markdown
Member
  • Remove private _PyTraceMalloc C API functions: move them to the internal C API.
  • Don't export private _PyTraceMalloc functions anymore.
  • Rename Include/tracemalloc.h to Include/cpython/tracemalloc.h

* 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
@vstinner
vstinnerforce-pushed the pycore_tracemalloc branch from 8959034 to 9d0865dCompareJuly 2, 2023 00:24
@vstinnervstinner changed the title gh-106320: Remove private _PyTracemalloc C API functionsgh-106320: Remove private _PyTraceMalloc C API functionsJul 2, 2023
@vstinner
vstinner enabled auto-merge (squash) July 2, 2023 00:27
@vstinner
vstinner merged commit feb51f3 into python:mainJul 2, 2023
@vstinner
vstinner deleted the pycore_tracemalloc branch July 17, 2023 17:16
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@bedevere-bot