Skip to content

TYP: kron improved shape-typing - #32626

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

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

Conversation

@jorenham

Copy link
Copy Markdown
Member

np.kron now returns exact shape-type for (broadcasted combinatations of) <=3d array inputs with same dtypes.


Pair programmed with AI.

@jorenham jorenham added this to the 2.6.0 Release milestone Sep 15, 2026
@charris

This comment was marked as resolved.

@jorenham
jorenham force-pushed the typing/kron/shape-typing branch 2 times, most recently from 4e415b4 to b1e6a8a Compare September 15, 2026 14:34
Comment thread numpy/typing/tests/data/reveal/fromnumeric.pyi
@jorenham
jorenham force-pushed the typing/kron/shape-typing branch from b1e6a8a to bf92a4a Compare September 15, 2026 17:10
@charris
charris merged commit f86c3ef into numpy:main Sep 15, 2026
15 checks passed
@charris

charris commented Sep 15, 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