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
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
Update Python/pylifecycle.c
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
  • Loading branch information
markshannon and JelleZijlstra authored May 15, 2023
commit 9be843518b088bee0a3bcc50971abc9193b3339f
2 changes: 1 addition & 1 deletion Python/pylifecycle.c
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ init_interp_main(PyThreadState *tstate)
}

if (config->tracemalloc) {
if ( _PyTraceMalloc_Start(config->tracemalloc) < 0) {
if (_PyTraceMalloc_Start(config->tracemalloc) < 0) {
return _PyStatus_ERR("can't start tracemalloc");
}
}
Expand Down
0