What's the public API alternative to _PyObject_GC_IS_TRACKED()?

Barry Scott barry at barrys-emacs.org
Sun Dec 26 11:28:55 EST 2021



> On 26 Dec 2021, at 13:48, Marco Sulla <Marco.Sulla.Python at gmail.com> wrote:
> 
> I have to use _PyObject_GC_IS_TRACKED(). It can't be used unless you
> define Py_BUILD_CORE. I want to avoid this. What macro or function can
> substitute it?

Why is this needed by your code? Surely the GC does its thing as an implementation detail of python.

Barry


> -- 
> https://mail.python.org/mailman/listinfo/python-list
> 



More information about the Python-list mailing list