Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 2, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jul 2, 2023

  • 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 vstinner changed the title gh-106320: Remove private _PyTracemalloc C API functions gh-106320: Remove private _PyTraceMalloc C API functions Jul 2, 2023
@vstinner vstinner enabled auto-merge (squash) July 2, 2023 00:27
@vstinner vstinner merged commit feb51f3 into python:main Jul 2, 2023
14 checks passed
@vstinner vstinner deleted the pycore_tracemalloc branch July 17, 2023 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants