This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petr.viktorin
Recipients corona10, petr.viktorin, shihai1991, vstinner
Date 2020-10-20.08:47:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603183678.44.0.962140455896.issue41798@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-10-20 08:47:58petr.viktorinsetrecipients: + petr.viktorin, vstinner, corona10, shihai1991
2020-10-20 08:47:58petr.viktorinsetmessageid: <1603183678.44.0.962140455896.issue41798@roundup.psfhosted.org>
2020-10-20 08:47:58petr.viktorinlinkissue41798 messages
2020-10-20 08:47:58petr.viktorincreate