-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.5
-
None
-
April 6th dev wheels
Many methods returning a tuple are missing type arguments for said tuple.
I am mainly interested in `QFileDialog.getOpenFileName` and `QFileDialog.getSaveFileName`, but as you can see above, this affects many methods.
Sidenote, if it's a "TODO", please leave it as unknown and don't hide it with `tuple[Any,...]` just to close this issue. It only affects pyright users with strict type-checking (mypy infers as `Any` since it has no concept of `Unknown`) and it has an important semantic difference (an explicit `Any` return type meaning the type simply cannot be expressed within the current type system)
For Gerrit Dashboard: PYSIDE-2285 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
472004,9 | Add type hints for return values modified to Tuple[] | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
472031,2 | Add type hints for return values modified to Tuple[] | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
486283,4 | Fix typing error for QQmlExpression::evaluate(bool *v) | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
486476,2 | Fix typing error for QQmlExpression::evaluate(bool *v) | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |