gh-112075: Support freeing object memory via QSBR by DinoV · Pull Request #116344 · python/cpython
Adds support for freeing GC objects with QSBR. This will enable objects with in-lined values to be freed.
Currently this is just freeing any object that gets shared as being freed by QSBR. We may want to break this into 2 bits so that when we mark a dict or a list as shared that the underlying object gets freed and only the values get delayed.