Skip to content

TYP: broadcast_arrays improved shape-typing - #32612

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

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

Conversation

@jorenham

Copy link
Copy Markdown
Member

np.broadcast_arrays now returns exact shape-types in case of 0 arrays, 1 array, and 2 <=3d arrays.


Pair programmed with Ai.

@jorenham jorenham added this to the 2.6.0 Release milestone Sep 14, 2026
@charris
charris merged commit e49390c into numpy:main Sep 14, 2026
16 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