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 vstinner
Recipients pablogsal, vstinner
Date 2020-04-10.00:23:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
_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).
Date User Action Args
2020-04-10 00:23:41vstinnersetrecipients: + vstinner, pablogsal
2020-04-10 00:23:41vstinnersetmessageid: <>
2020-04-10 00:23:41vstinnerlinkissue40241 messages
2020-04-10 00:23:41vstinnercreate