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: some[arg]partition fixes#28758

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 1 commit intonumpy:maintenance/2.2.xfromcharris:backport-28747
Apr 18, 2025

Conversation

charris
Copy link
Member

Partial backport of#28747.

  • reject boolean array indices
  • rejectorder: str | Sequence[str] unless it's avoid array
  • reject passingself as keyword argument on classmethod calls

jorenham reacted with heart emoji
@charrischarris added 08 - BackportUsed to tag backport PRs 41 - Static typing labelsApr 18, 2025
@charrischarris added this to the2.2.5 release milestoneApr 18, 2025
@@ -16,7 +16,6 @@ from typing_extensions import Never, deprecated

import numpy as np
from numpy import (
number,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

ah, this one also needs to stay apparently

@jorenham
Copy link
Member

Locally mypy passes when I apply those two changes.

@charrischarris merged commitc200e8c intonumpy:maintenance/2.2.xApr 18, 2025
69 checks passed
@charrischarris deleted the backport-28747 branchApril 18, 2025 13:05
@jorenham
Copy link
Member

Thanks Chuck :)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jorenhamjorenhamjorenham left review comments

Assignees
No one assigned
Labels
08 - BackportUsed to tag backport PRs41 - Static typing
Projects
None yet
Milestone
2.2.5 release
Development

Successfully merging this pull request may close these issues.

2 participants
@charris@jorenham

[8]ページ先頭

©2009-2025 Movatter.jp