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 #22540 from seberg/finalize-dtype-depr
DEP: Expire deprecation of dtype/signature allowing instances
- Loading branch information
Showing
4 changed files
with
42 additions
and
48 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,5 @@ | ||
* Passing dtype instances other than the canonical (mainly native byte-order) | ||
ones to ``dtype=`` or ``signature=`` in ufuncs will now raise a ``TypeError``. | ||
We recommend passing the strings ``"int8"`` or scalar types ``np.int8`` | ||
since the byte-order, datetime/timedelta unit, etc. are never enforced. | ||
(Initially deprecated in NumPy 1.21.) |
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