[issue44895] refleak test failure in test_exceptions
STINNER Victor
report at bugs.python.org
Tue Aug 31 17:20:29 EDT 2021
STINNER Victor <vstinner at python.org> added the comment:
> It could be a problem with the way _Py_RefTotal is incremented/decremented.
It can be a cache which is kept alive and then clear the following iteration. See my previous comment:
test leaked [-4, 4, -4, 4, -4, 4, -4, 4, -4, 4, -4, 4, -4, 4, -4, 4, -4, 4, -4, 4] references, sum=0
libregrtest/refleak.py does its best to clear *all* caches, type caches, free lists, etc. A single cache which is not cleared can confused libregrtest.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44895>
_______________________________________
More information about the Python-bugs-list
mailing list