[Mlir-commits] [mlir] [mlir][python] Add stable ABI (abi3) support (PR #183856)
Maksim Levental
llvmlistbot at llvm.org
Sat Feb 28 09:31:01 PST 2026
================
@@ -495,8 +496,8 @@ class pure_subclass {
std::forward<Func>(f),
nanobind::name(name), // nanobind::scope(thisClass),
extra...);
- thisClass.attr(name) =
- nanobind::borrow<nanobind::object>(PyClassMethod_New(cf.ptr()));
+ nanobind::object builtins = nanobind::module_::import_("builtins");
----------------
makslevental wrote:
Here too
https://github.com/llvm/llvm-project/pull/183856
More information about the Mlir-commits
mailing list