Message379104
Also note that the capsule generally needs to hold references to the objects in exposes, and not rely on the module object to keep things alive. (Module objects with multi-phase init are not unique nor immortal.)
_ctypes is an exception, since it doesn't have ant PyObject*. But in most others the destructor should also contain some DECREFs. |
|
Date |
User |
Action |
Args |
2020-10-20 08:47:58 | petr.viktorin | set | recipients:
+ petr.viktorin, vstinner, corona10, shihai1991 |
2020-10-20 08:47:58 | petr.viktorin | set | messageid: <1603183678.44.0.962140455896.issue41798@roundup.psfhosted.org> |
2020-10-20 08:47:58 | petr.viktorin | link | issue41798 messages |
2020-10-20 08:47:58 | petr.viktorin | create | |
|