Message366095
_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:41 | vstinner | set | recipients:
+ vstinner, pablogsal |
2020-04-10 00:23:41 | vstinner | set | messageid: <1586478221.73.0.0856454790294.issue40241@roundup.psfhosted.org> |
2020-04-10 00:23:41 | vstinner | link | issue40241 messages |
2020-04-10 00:23:41 | vstinner | create | |
|