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 <rep...@bugs.python.org> <http://bugs.python.org/issue31217> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com