ENH: searchsorted: allow x2 to be python scalar#394
Merged
Conversation
ev-br
marked this pull request as draft
November 17, 2025 17:34
ev-br
force-pushed
the
searchsorted_scalars
branch
2 times, most recently
from
November 17, 2025 19:00
17bfa05 to
61a770f
Compare
ev-br
force-pushed
the
searchsorted_scalars
branch
from
December 2, 2025 20:27
61a770f to
de3623c
Compare
ev-br
force-pushed
the
searchsorted_scalars
branch
3 times, most recently
from
January 8, 2026 18:59
37b4e32 to
4890591
Compare
Member
Author
|
Local testing: |
ev-br
force-pushed
the
searchsorted_scalars
branch
from
January 8, 2026 19:25
7fbcf4d to
4890591
Compare
2 tasks
ev-br
commented
Jan 17, 2026
ev-br
force-pushed
the
searchsorted_scalars
branch
from
January 19, 2026 09:17
4890591 to
390b795
Compare
ev-br
commented
Jan 19, 2026
| raise | ||
|
|
||
|
|
||
| ### @pytest.mark.min_version("2025.12") |
Member
Author
There was a problem hiding this comment.
Suggested change
| ### @pytest.mark.min_version("2025.12") |
ev-br
force-pushed
the
searchsorted_scalars
branch
from
February 21, 2026 12:33
390b795 to
6b912bf
Compare
ev-br
marked this pull request as ready for review
February 21, 2026 12:36
13 tasks
x2 to be python scalarx2 to be python scalar
ev-br
force-pushed
the
searchsorted_scalars
branch
from
February 23, 2026 14:55
6b912bf to
3f93fcc
Compare
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a proposed 2025.12 feature, cf data-apis/array-api#982
needs a rebase on expand testing ofdonesearchsorted#393array_api_strict: ENH: searchorted: supportint | floatscalarx2array-api-strict#170-compatupdate: ENH: cupy: add a workaround for cp.searchorted 2nd argument array-api-compat#374