Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TYP: Various typing fixes#29865

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@charris
Copy link
Member

Backports of#29842,#29845,#29846,#29847.

commitfe3a74c
Author: Joren Hammudoglujhammudoglu@gmail.com
Date: Wed Oct 1 03:56:24 2025 +0200

TYP: Fix incompatible defaults in ``polyfit``, ``histogram``, and ``histogramdd`` (#29847)The default values weren't assignable to the types of the parameters.

commit2342cb0
Author: Joren Hammudoglujhammudoglu@gmail.com
Date: Wed Oct 1 03:54:37 2025 +0200

TYP: Fix signatures of ``linalg.matmul`` and ``linalg.outer`` (#29846)This fixes several issues in np.linalg.outer (positional-only params, a misplaced out=... param, and an orphanced -> _ArrayT), and also fixes linalg.matmul parameters to be positional-only.I also snuck in an an additional overload that improves the return type if both input array-likes have the same dtype.

commita8d7d13
Author: Joren Hammudoglujhammudoglu@gmail.com
Date: Wed Oct 1 03:53:00 2025 +0200

TYP: Add missing ``rtol`` kwarg to ``linalg.pinv`` (#29845)Apparently it was added in 2.0.0, but was missing from the stubs.

commitd9f83ec
Author: Joren Hammudoglujhammudoglu@gmail.com
Date: Wed Oct 1 03:47:57 2025 +0200

TYP: Fix ``generic.__new__`` return type (#29842)

Backports ofnumpy#29842,numpy#29845,numpy#29846,numpy#29847.commitfe3a74cAuthor: Joren Hammudoglu <jhammudoglu@gmail.com>Date:   Wed Oct 1 03:56:24 2025 +0200    TYP: Fix incompatible defaults in ``polyfit``, ``histogram``, and ``histogramdd`` (numpy#29847)    The default values weren't assignable to the types of the parameters.commit2342cb0Author: Joren Hammudoglu <jhammudoglu@gmail.com>Date:   Wed Oct 1 03:54:37 2025 +0200    TYP: Fix signatures of ``linalg.matmul`` and ``linalg.outer`` (numpy#29846)    This fixes several issues in np.linalg.outer (positional-only params, a misplaced out=... param, and an orphanced -> _ArrayT), and also fixes linalg.matmul parameters to be positional-only.    I also snuck in an an additional overload that improves the return type if both input array-likes have the same dtype.commita8d7d13Author: Joren Hammudoglu <jhammudoglu@gmail.com>Date:   Wed Oct 1 03:53:00 2025 +0200    TYP: Add missing ``rtol`` kwarg to ``linalg.pinv`` (numpy#29845)    Apparently it was added in 2.0.0, but was missing from the stubs.commitd9f83ecAuthor: Joren Hammudoglu <jhammudoglu@gmail.com>Date:   Wed Oct 1 03:47:57 2025 +0200    TYP: Fix ``generic.__new__`` return type (numpy#29842)
@charrischarris added this to the2.3.4 release milestoneOct 2, 2025
@charrischarris added 08 - BackportUsed to tag backport PRs 41 - Static typing labelsOct 2, 2025
@charrischarris merged commitfcd3054 intonumpy:maintenance/2.3.xOct 2, 2025
82 of 83 checks passed
@charrischarris deleted the backport-29842-29845-29846-29847 branchOctober 2, 2025 17:52
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

08 - BackportUsed to tag backport PRs41 - Static typing

Projects

None yet

Milestone

2.3.4 release

Development

Successfully merging this pull request may close these issues.

1 participant

@charris

[8]ページ先頭

©2009-2025 Movatter.jp