-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-35879: Fix type comment leaks #11728
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
Since this just fixes a bug introduced by yesterday's merge of GH-11645, I don't think we need a blurb. |
Echoes python/cpython#11728 (they were found by the CPython refleak detector, see https://bugs.python.org/issue35879).
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!
Finally! I spent al leat 3 hours tracking this leak. How did you find that PyArena_AddPyObject
was the missing piece?
I have run the entire test suite with ref leaks activated and it succeeds. Here is ~/github/cpython remotes/upstream/fix-type-comment-leaks ✔ == Tests result: SUCCESS == 1 test OK. Total duration: 168 ms |
I kept reading the source, trying to understand how this was done for other fields. Finally I found that identifiers had the same pattern (a |
|
This failure is not related with this PR (is some broken pipe in multiprocessing). |
Echoes python/cpython#11728 (they were found by the CPython refleak detector, see https://bugs.python.org/issue35879).
Echoes python/cpython#11728 (they were found by the CPython refleak detector, see https://bugs.python.org/issue35879).
https://bugs.python.org/issue35879