Skip to content

ENH: Allow strings in logical ufuncs #25651

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
Jan 22, 2024
Merged

Conversation

seberg
Copy link
Member

@seberg seberg commented Jan 22, 2024

I didn't allow them because casting strings to bools made no sense at all. But that was fixed in gh-23898.

I am very sure the deprecation is expired and I simply forgot to remove that branch also.

Closes gh-1912

I didn't allow them because casting strings to bools made no sense
at all.  But that was fixed in numpygh-23898.

I am very sure the deprecation is expired and I simply forgot to
remove that branch also.

Closes numpygh-1912
@ngoldbaum
Copy link
Member

Nice, seems like a clear win.

Maybe add a release note saying that this is supported now?

@ngoldbaum
Copy link
Member

Failure is unrelated, merging.

@ngoldbaum ngoldbaum merged commit f84b5a4 into numpy:main Jan 22, 2024
@seberg seberg deleted the allow-logical-strings branch January 22, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.all() and .any() fail for arrays of type 'S' and 'U' (Trac #1314)
2 participants