Skip to content

TYP: any(None) and all(None) #29176

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 1 commit into from
Jun 11, 2025
Merged

TYP: any(None) and all(None) #29176

merged 1 commit into from
Jun 11, 2025

Conversation

jorenham
Copy link
Member

because

>>> import numpy as np
>>> np.__version__
'2.3.0'
>>> np.all(None)
np.False_
>>> np.any(None)
np.False_

this was causing a red squiggly in lib/_function_base_impl.py:4961

@jorenham jorenham added 09 - Backport-Candidate PRs tagged should be backported 41 - Static typing labels Jun 11, 2025
@charris charris merged commit 9cbddda into numpy:main Jun 11, 2025
77 checks passed
@charris
Copy link
Member

charris commented Jun 11, 2025

Thanks Joren.

@jorenham jorenham deleted the typing/any(None) branch June 11, 2025 22:46
charris pushed a commit to charris/numpy that referenced this pull request Jun 12, 2025
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jun 12, 2025
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.

2 participants