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: fix positional- and keyword-only params in astype, cross and linalg#28348

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

Merged
charris merged 2 commits intonumpy:maintenance/2.2.xfromcharris:backport-28327
Feb 17, 2025

Conversation

@charris
Copy link
Member

Backport of#28327.

Example:

importnumpyasnplst=np.eye(3)# No typing issues but on runtime:# TypeError: astype() got some positional-only arguments passed as keyword arguments: 'x, dtype'np.astype(x=lst,dtype=np.float64)

@charrischarris added 08 - BackportUsed to tag backport PRs 41 - Static typing labelsFeb 17, 2025
@charrischarris added this to the2.2.4 release milestoneFeb 17, 2025
@charrischarris merged commit22ef020 intonumpy:maintenance/2.2.xFeb 17, 2025
69 of 70 checks passed
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.2.4 release

Development

Successfully merging this pull request may close these issues.

2 participants

@charris@Andrej730

[8]ページ先頭

©2009-2025 Movatter.jp