uWSGI: Use a TypeVarTuple in uwsgidecorators.thread#11128
uWSGI: Use a TypeVarTuple in uwsgidecorators.thread#11128srittau merged 6 commits intopython:mainfrom
TypeVarTuple in uwsgidecorators.thread#11128Conversation
This comment has been minimized.
This comment has been minimized.
|
Looks like pytype isn't happy with the use of a |
|
Is there a pytype issue we can refer to that tracks the necessary support? |
This comment has been minimized.
This comment has been minimized.
The issue is that pytype doesn't yet support classes being generic over When we use |
|
The reason it's harder is that the generic now needs to be able to accept multiple values instead of just one, as well as some of the other special rules, such as not requiring redundant brackets. So I can see why there is maybe no easy way to add partial support for it, except for maybe the most simple case, where a generic accepts a single |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
We have removed support for pytype, so I'll also remove the deferred status |
This comment has been minimized.
This comment has been minimized.
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
srittau
left a comment
There was a problem hiding this comment.
It took a few days, but LGTM. Thanks!
This addresses one of the FIXME comments (and a stubtest_allowlist entry) in types-uWSGI