https://github.com/jpienaar approved this pull request. Looks good! I had same question about unmanaged in name given allows for specifying deletion here (and first time I've seen weakref used in python :-)) https://github.com/llvm/llvm-project/pull/66319