I need it since I'm developing an immutable dict. And in dict that function is used.
I do not understand why there's no public API for that function. It seems very useful. On Sun, 26 Dec 2021 at 17:28, Barry Scott <ba...@barrys-emacs.org> wrote: > > > > > On 26 Dec 2021, at 13:48, Marco Sulla <marco.sulla.pyt...@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 > > > -- https://mail.python.org/mailman/listinfo/python-list