[Mlir-commits] [mlir] [mlir][python] Make the Context/Operation capsule creation methods work as documented. (PR #76010)

Maksim Levental llvmlistbot at llvm.org
Wed Dec 20 12:54:37 PST 2023


makslevental wrote:

 > If your experience mirrors mine, you may have realized soon that what you were doing was already subtly broken but just hadn't been caught yet :)

I definitely ran into the occasional ownership issue but I've always been able to brush it under the rug by fiddling with `return_value_policy` 😁. I look forward to trying out this API.

https://github.com/llvm/llvm-project/pull/76010


More information about the Mlir-commits mailing list