[issue42866] test test_multibytecodec: Test_IncrementalEncoder.test_subinterp() leaks references
STINNER Victor
report at bugs.python.org
Fri Jan 8 09:23:23 EST 2021
STINNER Victor <vstinner at python.org> added the comment:
> Don't you need to free memory using PyObject_GC_Del when you allocate using PyObject_GC_New?
My PR uses the generic tp->tp_free which PyObject_GC_Del().
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42866>
_______________________________________
More information about the Python-bugs-list
mailing list