commit | 595225e86dcc6ea520a584839925a878dce7a9b2 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Fri Jan 21 13:06:34 2022 +0100 |
committer | GitHub <noreply@github.com> | Fri Jan 21 13:06:34 2022 +0100 |
tree | 177f9801d750c91f61ae40b99b9dcf8b0e9c135d | |
parent | ea38e436fe1e585fb8c1f0badf5482f525b7f9ff [diff] |
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.