python / mypy

Optional static typing for Python
https://www.mypy-lang.org/
Other
17.85k stars 2.74k forks source link

Fix ParamSpec inference against TypeVarTuple #17431

Closed ilevkivskyi closed 1 week ago

ilevkivskyi commented 1 week ago

Fixes https://github.com/python/mypy/issues/17278 Fixes https://github.com/python/mypy/issues/17127

cc @JukkaL @hauntsaninja

github-actions[bot] commented 1 week ago

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

github-actions[bot] commented 1 week ago

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