-
-
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 #10151 from eric-wieser/integer-type-__name__
BUG: Numpy scalar types sometimes have the same name
- Loading branch information
Showing
4 changed files
with
68 additions
and
7 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,9 @@ | ||
Different C numeric types of the same size have unique names | ||
------------------------------------------------------------ | ||
On any given platform, two of ``np.intc``, ``np.int_``, and ``np.longlong`` | ||
would previously appear indistinguishable through their ``repr``, despite | ||
having different properties when wrapped into ``dtype``s. | ||
A similar problem existed for the unsigned counterparts to these types, and on | ||
some plaforms for ``np.double`` and ``np.longdouble`` | ||
|
||
These types now always print with a unique ``__name__``. |
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