Author vstinner
Recipients pablogsal, vstinner
Date 2020-04-10.00:23:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586478221.73.0.0856454790294.issue40241@roundup.psfhosted.org>
In-reply-to
Content
_testcapi uses _PyObject_GC_IS_TRACKED(). This macro is exposed in Python as gc.is_tracked(). IMO the function should be available in the public C API. For example, PyObject_GC_IsTracked(obj).

Cython uses _PyGC_FINALIZED(). This macro is exposed in Python as gc.is_finalized(). So again, I consider that it should be exposed in a public C function as well, like PyObject_GC_IsFinalized(obj).
History
Date User Action Args
2020-04-10 00:23:41vstinnersetrecipients: + vstinner, pablogsal
2020-04-10 00:23:41vstinnersetmessageid: <1586478221.73.0.0856454790294.issue40241@roundup.psfhosted.org>
2020-04-10 00:23:41vstinnerlinkissue40241 messages
2020-04-10 00:23:41vstinnercreate