Skip to content

Navigation Menu

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

Appearance settings

TYP: reject complex scalar types in ndarray.__ifloordiv__ #28958

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 14, 2025

Conversation

jorenham
Copy link
Member

closes #28957

also added some comments that could help avoid things like this from happening in the future

@jorenham jorenham added 09 - Backport-Candidate PRs tagged should be backported 41 - Static typing labels May 14, 2025
@jorenham jorenham requested a review from MarcoGorelli May 14, 2025 12:50
Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

thanks @jorenham - changes look good, could consider a test in fail which would have failed on main? that's how i found this

@charris
Copy link
Member

charris commented May 14, 2025

Needs rebase. Might be tricky to backport after.

@charris
Copy link
Member

charris commented May 14, 2025

mypy primer seem broken today, might be due to github undergoing maintenance.

@jorenham jorenham force-pushed the typing/fix=28957 branch from f91ca2a to 87e9461 Compare May 14, 2025 22:25
@charris charris merged commit 6cf6625 into numpy:main May 14, 2025
76 checks passed
@charris
Copy link
Member

charris commented May 14, 2025

Thanks Joren.

@jorenham jorenham deleted the typing/fix=28957 branch May 14, 2025 23:16
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label May 15, 2025
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.

TYP: inplace arithmetic erroneously suggests that __ifloordiv__ is supported for complex128
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.