Milan Oberkirch added the comment: I tried to pin this leak down and got to the point where I suspect the compile call:
def check_roundtrip(self, code1, filename="internal"): ast1 = compile(code1, filename, "exec", ast.PyCF_ONLY_AST) the leaks occur with only that line in the function and do not occur without it. To me it looks like a direct result of some leak somewhere in the tested code? Garrett: I'm happy for you to take over (please leave a comment if you do)! ---------- nosy: +zvyn _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30542> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com