Skip to content

TYP: roots shape-typing and improved dtypes - #32675

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

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

Conversation

@jorenham

Copy link
Copy Markdown
Member

The output array of np.roots is now always annotated as 1d, and its dtype now depends on the input.


Pair programmed with Ai.

@jorenham jorenham added this to the 2.6.0 Release milestone Sep 17, 2026
@charris
charris merged commit bd64a3c into numpy:main Sep 17, 2026
16 checks passed
@charris

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