Skip to content

TYP: lexsort shape-typing - #32617

Merged
charris merged 1 commit into
numpy:mainfrom
jorenham:typing/lexsort/shape-typing
Sep 14, 2026
Merged

charris merged 1 commit into
numpy:mainfrom
jorenham:typing/lexsort/shape-typing

Conversation

@jorenham

Copy link
Copy Markdown
Member

The output type of np.lexsort now has an exact shape-type for <=3d array-like input (keys).


Pair programmed (Python's type system is turing complete, so yes, stubs are programs) with AI.

@jorenham jorenham added this to the 2.6.0 Release milestone Sep 14, 2026
@jorenham
jorenham force-pushed the typing/lexsort/shape-typing branch from 0119df8 to 2b82985 Compare September 14, 2026 17:53
@charris
charris merged commit 3eec99d into numpy:main Sep 14, 2026
15 checks passed
@charris

charris commented Sep 14, 2026

Copy link
Copy Markdown
Member

Thanks Joren.

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