diff options
author | Victor Stinner <vstinner@python.org> | 2022-01-21 12:06:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-21 12:06:34 (GMT) |
commit | 595225e86dcc6ea520a584839925a878dce7a9b2 (patch) | |
tree | 177f9801d750c91f61ae40b99b9dcf8b0e9c135d /Include/pyport.h | |
parent | ea38e436fe1e585fb8c1f0badf5482f525b7f9ff (diff) | |
download | cpython-595225e86dcc6ea520a584839925a878dce7a9b2.zip cpython-595225e86dcc6ea520a584839925a878dce7a9b2.tar.gz cpython-595225e86dcc6ea520a584839925a878dce7a9b2.tar.bz2 |
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.
Diffstat (limited to 'Include/pyport.h')
0 files changed, 0 insertions, 0 deletions