bpo-46417: Py_Finalize() clears static types (GH-30743)
Add _PyTypes_FiniTypes() best-effort function to clear static types: don't deallocate a type if it still has subclasses. remove_subclass() now sets tp_subclasses to NULL when removing the last subclass.
V
Victor Stinner committed
595225e86dcc6ea520a584839925a878dce7a9b2
Parent: ea38e43
Committed by GitHub <noreply@github.com>
on 1/21/2022, 12:06:34 PM