DOC: Fix migration note for ``alltrue`` and ``sometrue`` by charris · Pull Request #27022 · numpy/numpy

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@charris

Copy link Copy Markdown

Member

@charris charris commented

Jul 24, 2024

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 charris added 04 - Documentation 08 - Backport

Used to tag backport PRs

labels

Jul 24, 2024

@charris charris added this to the 2.0.2 release milestone

Jul 24, 2024

@charris charris merged commit 67ae60c into numpy:maintenance/2.0.x

Jul 24, 2024

@charris charris deleted the backportl-27015 branch

July 24, 2024 03:06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

04 - Documentation 08 - Backport

Used to tag backport PRs

Projects

None yet

Milestone

2.0.2 release

Development

Successfully merging this pull request may close these issues.

2 participants

@charris @mtsokol