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

Reply via email to