PyO3 / rust-numpy

PyO3-based Rust bindings of the NumPy C-API
BSD 2-Clause "Simplified" License
1.11k stars 106 forks source link

convert `PyArray` to `Bound` API #415

Closed Icxolu closed 6 months ago

Icxolu commented 6 months ago

Following #412

This migrates PyArray to the Bound API. This introduces PyArrayMethods to implement the methods on Bound. The diff is a bit bigger for this one, but most of the code just moved around a bit, so I hope it's still fine.