-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-126076: Account for relocated objects in tracemalloc #126077
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
Conversation
pablogsal
commented
Oct 28, 2024
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: Account for relocated objects in tracemalloc #126076
CC @vstinner |
Co-authored-by: Victor Stinner <vstinner@python.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. But I suggest adding parenthesis in the macro implementation to avoid macro pitfals.
Will do |
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make sure that all calls to _PyReftracerTrack
are directly before the relevant free, to make it easier to merge them when we fix #125790
Yup! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I would have suggested using uppercase names for the macro but it wouldn't be consistent with the rest of the macros so I gave up)
Misc/NEWS.d/next/Core_and_Builtins/2024-10-28-13-18-16.gh-issue-126076.MebZuS.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Core_and_Builtins/2024-10-28-13-18-16.gh-issue-126076.MebZuS.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
What's the status of this issue? |
I just need to land it after checking that I have addressed everything (I was on vacation 😉) |
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Misc/NEWS.d/next/Core_and_Builtins/2024-10-28-13-18-16.gh-issue-126076.MebZuS.rst
Outdated
Show resolved
Hide resolved
…e-126076.MebZuS.rst
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, @pablogsal, I could not cleanly backport this to
|
GH-127823 is a backport of this pull request to the 3.13 branch. |
…ythonGH-126077) (cherry picked from commit 30aeb00) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>