-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25754 from ngoldbaum/expose-dtype-api
API: Expose the dtype C API
- Loading branch information
Showing
47 changed files
with
1,461 additions
and
916 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
New Public DType API | ||
-------------------- | ||
|
||
The C implementation of the NEP 42 DType API is now public. While the DType API | ||
has shipped in NumPy for a few versions, it was only usable in sessions with a | ||
special environment variable set. It is now possible to write custom DTypes | ||
outside of NumPy using the new DType API and the normal ``import_array()`` | ||
mechanism for importing the numpy C API. | ||
|
||
See :ref:`dtype-api` for more details about the API. As always with a new | ||
feature, please report any bugs you run into implementing or using a new | ||
DType. It is likely that downstream C code that works with dtypes will need to | ||
be updated to work correctly with new DTypes. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.