Skip to content

Conversation

@sterliakov
Copy link
Collaborator

Fixes #20059. If any non-trivial decorator is present, avoid trying to pick the parameter corresponding to i-th parameter of the callable type.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2025

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

@ilevkivskyi ilevkivskyi merged commit 6986993 into python:master Nov 8, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Complex paraspec handling cause Internal error (IndexError: list index out of range) at check_override

2 participants