[issue35983] tp_dealloc trashcan shouldn't be called for subclasses

Jeroen Demeyer report at bugs.python.org
Thu Feb 14 04:06:42 EST 2019


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

> Jeroen, could you share your example? I am learning the C-API of Python and this example could be interesting.

Either use the Cython code I posted above or run the testcase I added in PR 11841.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35983>
_______________________________________


More information about the Python-bugs-list mailing list