[issue30542] [EASY] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references
Milan Oberkirch
report at bugs.python.org
Fri Jun 2 19:00:26 EDT 2017
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 <report at bugs.python.org>
<http://bugs.python.org/issue30542>
_______________________________________
More information about the Python-bugs-list
mailing list