Open Eclips4 opened 3 months ago
I was able to reproduce this:
0:00:00 load avg: 1.70 Run 1 test sequentially in a single process 0:00:00 load avg: 1.70 [1/1] test_functools beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
123:456
XX. 3..
test_functools leaked [3, 0, 0] memory blocks, sum=3 (this is fine)
@Eclips4, I stumbled upon this which suggests that this scenario might be false positive and an outcome of late initialization and not a real leak. Since it is false positive it is difficult to constantly reproduce it. If this needs further attention please let me know, I'm happy to look into it more if you suggest so :)
Previous issue: https://github.com/python/cpython/issues/80741
See also commit 5f660e8e2ca3acfb89ccbdd990f072149b6baa6a: fix for test_typing.
The text below is a part of the refleak tests, and unfortunately, I am unable to constantly reproduce it :(