[Numpy-discussion] Re: New DType and ArrayMethod C APIs are public

2024-02-14 Thread Stefan van der Walt via NumPy-Discussion
On Wed, Feb 14, 2024, at 14:34, Nathan wrote: > The DType API publicly exposes the PyArray_DTypeMeta C struct, which > represents DType metaclasses. It also exposes a function for registering > user-defined DTypes and a set of slot IDs and function typedefs that users > can implement in C to wri

[Numpy-discussion] New DType and ArrayMethod C APIs are public

2024-02-14 Thread Nathan
Hi all, Today we merged the PR that publicly exposed the formerly "experimental" DType API and ArrayMethod API. See https://github.com/numpy/numpy/pull/25754. The docs for the new C API are here: https://numpy.org/devdocs/reference/c-api/array.html#arraymethod-api https://numpy.org/devdocs/refe