Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

hauntsaninja
Copy link
Collaborator

Fixes #17542

This comment has been minimized.

@JelleZijlstra
Copy link
Member

Not related to your change but the return of typing._SpecialForm just below should also return types.GenericAlias.

The change itself looks right.

@hauntsaninja
Copy link
Collaborator Author

Yeah, good point. I'll try changing that in a follow-up, since we'll probably want to backport this PR

Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@JelleZijlstra JelleZijlstra merged commit 0a040dd into python:master Jul 20, 2024
@hauntsaninja hauntsaninja deleted the fix-crash branch July 20, 2024 04:16
hauntsaninja added a commit to hauntsaninja/mypy that referenced this pull request Jul 20, 2024
hauntsaninja added a commit that referenced this pull request Jul 20, 2024
jwodder added a commit to dandi/dandi-cli that referenced this pull request Jul 23, 2024
hauntsaninja added a commit that referenced this pull request Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cv2.mat_wrapper INTERNAL ERROR
2 participants