Skip to content

bpo-40137: Fix refleak in _functools_exec()#24006

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:fix_functools_leak
Dec 30, 2020
Merged

bpo-40137: Fix refleak in _functools_exec()#24006
vstinner merged 1 commit intopython:masterfrom
vstinner:fix_functools_leak

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Dec 30, 2020

@vstinner
Copy link
Member Author

This change fix https://bugs.python.org/issue40137#msg384036 refleak regression.

I can reproduce it with ./python -m test test_ast -R 3:3.

I confirm that this change fix the leak. I tested with:

$ ./python -m test -j0 -R 3:3 test_interpreters test_threading test_capi test__xxsubinterpreters test_ast
(...)
Tests result: SUCCESS

@vstinner vstinner merged commit ba0e49a into python:master Dec 30, 2020
@vstinner vstinner deleted the fix_functools_leak branch December 30, 2020 01:24
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
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.

3 participants