Skip to content

TYP: block shape-typing and improved dtypes - #32677

Open
jorenham wants to merge 1 commit into
numpy:mainfrom
jorenham:typing/block/shape-typing
Open

jorenham wants to merge 1 commit into
numpy:mainfrom
jorenham:typing/block/shape-typing

Conversation

@jorenham

Copy link
Copy Markdown
Member

np.block now returns exact shape-type for blocks of <=3d array-likes, and also returns exact dtypes in case of array-likes of builtin scalars.


Pair programmed with AI.

@jorenham jorenham added this to the 2.6.0 Release milestone Sep 17, 2026
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.

1 participant