[issue35879] test_type_comments leaks references
Guido van Rossum
report at bugs.python.org
Fri Feb 1 18:09:48 EST 2019
Guido van Rossum <guido at python.org> added the comment:
Found it! You need to call PyArena_AddPyObject(). I racked my brain and finally found the example code I needed at the end of new_identifier(). Please review quickly so we won't ship 3.8.0a1 with a memory leak.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35879>
_______________________________________
More information about the Python-bugs-list
mailing list