DOC: Fix migration note for ``alltrue`` and ``sometrue`` by charris · Pull Request #27022 · numpy/numpy
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 12.3k
Merged
charris merged 1 commit intonumpy:maintenance/2.0.xfrom
Jul 24, 2024Merged
DOC: Fix migration note for alltrue and sometrue #27022
charris merged 1 commit intonumpy:maintenance/2.0.xfrom
DOC: Fix migration note for alltrue and sometrue #27022
charris merged 1 commit intonumpy:maintenance/2.0.xfrom
Conversation
Copy link Copy Markdown
Member
charris
commented
Jul 24, 2024
charris
commented
Backport of #27015.
Hi @ngoldbaum,
I think I made a mistake in #26517 as pointed out it in astral-sh/ruff#12416.
np.sometrue and np.alltrue should be mapped to np.any and np.all instead of Python builtins any/all. (It could be also backported).
charris
added this to the
2.0.2 release milestone
charris
merged commit
67ae60c
into
numpy:maintenance/2.0.x
charris
deleted the
backportl-27015
branch
This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment