Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: Ensure string aliases "int0", etc. remain valid for now #22676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 27, 2022

Conversation

seberg
Copy link
Member

@seberg seberg commented Nov 25, 2022

int0 and uint0 were accidentally dropped, the others just added as a test.
We did successfully remove many Numeric types before, so these could probably be deprecated (it is a bit more annoying to do).

These could probably just be removed, even scipy only noticed it in a single test scikit-learn only noticed it in a single test (scipy probably not at all).. But maybe not in 1.24

Closes gh-22672

@seberg seberg force-pushed the issue-22672 branch 2 times, most recently from 78673e3 to 7ed8df7 Compare November 25, 2022 15:45
@seberg seberg changed the title BUG: Ensure string aliases `"int0", etc. remain valid for now BUG: Ensure string aliases "int0", etc. remain valid for now Nov 25, 2022
int0 and uint0 were accidentally dropped, the others just added as
a test.
We did successfully remove many Numeric types before, so these could
probably be deprecated (it is a bit more annoying to do).

These could probably just be removed, scikit-learn only noticed it in
a single test (scipy probably not at all).  But maybe not in 1.24
Copy link
Member

@mattip mattip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small comment nit. Feel free to ignore.

@mattip mattip merged commit f07bb7a into numpy:main Nov 27, 2022
@mattip
Copy link
Member

mattip commented Nov 27, 2022

Thanks @seberg

@seberg seberg deleted the issue-22672 branch November 27, 2022 19:56
@seberg seberg added 00 - Bug 08 - Backport Used to tag backport PRs 09 - Backport-Candidate PRs tagged should be backported and removed 08 - Backport Used to tag backport PRs labels Nov 27, 2022
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: TypeError: data type 'int0' not understood
3 participants