8000 GH-101520: Move tracemalloc functionality into core, leaving interface in Modules. by markshannon · Pull Request #104508 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-101520: Move tracemalloc functionality into core, leaving interface in Modules. #104508

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

Merged
merged 6 commits into from
May 17, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move clinic header back to correct file.
  • Loading branch information
markshannon committed May 11, 2023
commit e2728be5cd0135f2eec3129c391804302da243dd
5 changes: 5 additions & 0 deletions Modules/_tracemalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
#include "clinic/_tracemalloc.c.h"


/*[clinic input]
module _tracemalloc
[clinic start generated code]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=708a98302fc46e5f]*/


/*[clinic input]
_tracemalloc.is_tracing
Expand Down
5 changes: 0 additions & 5 deletions Python/tracemalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@

#include <stdlib.h> // malloc()

/*[clinic input]
module _tracemalloc
[clinic start generated code]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=708a98302fc46e5f]*/

#define tracemalloc_config _PyRuntime.tracemalloc.config

_Py_DECLARE_STR(anon_unknown, "<unknown>");
Expand Down
0