[issue33930] Segfault with deep recursion into object().__dir__

STINNER Victor report at bugs.python.org
Tue Nov 27 08:59:26 EST 2018


STINNER Victor <vstinner at redhat.com> added the comment:

-    _PyObject_GC_UNTRACK(m);
+    PyObject_GC_UnTrack(m);

Can someone please explain me why this change has any impact? Does it mean that _PyObject_GC_UNTRACK() macro has a bug?

The function is quite straighforward :-)

void
PyObject_GC_Track(void *op)
{
    _PyObject_GC_TRACK(op);
}

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33930>
_______________________________________


More information about the Python-bugs-list mailing list