BUG: Use `auxdata` in (arg)sort `strided_loop`s by MaanasArora · Pull Request #31670 · numpy/numpy · GitHub
Skip to content

BUG: Use auxdata in (arg)sort strided_loops#31670

Merged
seberg merged 1 commit into
numpy:mainfrom
MaanasArora:bug/sorts-use-auxdata
Jun 18, 2026
Merged

BUG: Use auxdata in (arg)sort strided_loops#31670
seberg merged 1 commit into
numpy:mainfrom
MaanasArora:bug/sorts-use-auxdata

Conversation

@MaanasArora

Copy link
Copy Markdown
Contributor

This was somehow missed back in #29737, sorry :/ I've marked this for backport as it's a clear bug in the user dtype implementation for slots.

AI Disclosure

No AI tools used.

@MaanasArora MaanasArora added 00 - Bug 09 - Backport-Candidate PRs tagged should be backported labels Jun 18, 2026

@seberg seberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, clearly right. I'll accept that a test for this is tedious since it is pretty much unused in practice.

@seberg seberg merged commit 6a1cef1 into numpy:main Jun 18, 2026
86 of 88 checks passed
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jun 18, 2026
charris pushed a commit that referenced this pull request Jun 19, 2026
As Arraymethods `auxdata` clearly needs to be forwarded (even it in practice it is always NULL and likely to not be used much -- it would be theoretically for structured dtype specialized sorts).
charris added a commit that referenced this pull request Jun 19, 2026
BUG: Use `auxdata` in (arg)sort `strided_loop`s (#31670)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants