bpo-36389: Add gc.enable_object_debugger() by vstinner · Pull Request #12480 · python/cpython
New "object debugger" which checks frequently if all Python objects tracked by the garbage collector are consistent: gc.enable_object_debugger() and gc.disable_object_debugger(). * Py_FatalError() and _PyObject_AssertFailed() now disable the GC object debugger to prevent reentrant calls. * Fix _PyObject_Dump() for ob_type=NULL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters