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

Stella Laurenzo llvmlistbot at llvm.org
Thu Dec 21 08:23:23 PST 2023


stellaraccident wrote:

> I'll take this opportunity to beat my favorite dead horse: we could just start exposing the utilities in lib/Bindings, such as PyOpreationRef, in order to avoid the inherent difficulties of relying on only PybindAdaptors.h to always do the right things.

Wouldn't help me. I was dealing with something that was using the raw C API via ctypes. The contract here must be built in to the API and enforced correctly.

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


More information about the Mlir-commits mailing list