Message 299600 - Python tracker (original) (raw)
like GH-2966, most types with Py_TPFLAGS_HAVE_GC should call PyObject_GC_UnTrack() at top of the tp_dealloc.
For example, I found lru_cache doesn't call it and I can produce segmentation fault.
I'll check other types too.