Inada Naoki <[email protected]> added the comment:
> In my implementation, there is guards that do early return in those cases and > there are tests that check that indeed we don't crash of that happens when > calling the exposed functions The guard doesn't help much. _PyObject_GC_UNTRACK() is called from many object tp_dealloc(). After user call `gc.untrack(obj)`, when the obj is deallocated, assertion error happens. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue42039> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
