[issue31217] test_code leaked [1, 1, 1] memory blocks on x86 Gentoo Refleaks 3.6/3.x

Antoine Pitrou report at bugs.python.org
Thu Aug 31 19:22:33 EDT 2017


Antoine Pitrou added the comment:

> It seems like the "leak" is the call to sys.getallocatedblocks() which creates a new integer, and the integer is kept alive between two loop iterations.

I doubt it.  If that was the case, the reference count would increase as well.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31217>
_______________________________________


More information about the Python-bugs-list mailing list