diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-10-18 13:10:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 11:10:42 -0700 |
commit | 23dfdfcfe55d5e9c34dafdc25cfef21475b309ab (patch) | |
tree | 0e964b03d42363d3099557b70f367bd7f4b1f6b7 /numpy/array_api/_set_functions.py | |
parent | f4ef0fd5d97afc7788c46eb51889e90623f5577e (diff) | |
download | numpy-23dfdfcfe55d5e9c34dafdc25cfef21475b309ab.tar.gz |
ENH: Create an experimental export of the new DType API (#19919)
* ENH: Create an experimental export of the new DType API
This expposes an experimental DType and ufunc API.
It can be used by including the experimental header AND
setting the `NUMPY_EXPERIMENTAL_DTYPE_API=1` environment variable.
A user must further call:
if (import_experimental_dtype_api(version) < 0) {
return NULL;
}
with a strict version check that will error on any mismatch.
At this time, I _know_ that some changes will happen, but it feels like
it may be a good idea to make this public anyway, with all the problems
attached... (e.g. as of now ufunc reductions will just not work, since
that PR is not yet merged.)
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Diffstat (limited to 'numpy/array_api/_set_functions.py')
0 files changed, 0 insertions, 0 deletions