Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
6.6.3
-
None
-
267c75375 (dev), 6426249e4 (6.7), c06a64b89 (6.6), e5eb303bd (tqtc/lts-6.5), 5d9b5718f (6.6.3.1), 87222d432 (tqtc/6.6.3.1)
Description
Line 5858 has syntax errors according to mypy and Python 3.12 where the type is given as an ellipsis. I guess the colon should be an equals-sign.
class QOperatingSystemVersion(PySide6.QtCore.QOperatingSystemVersionBase): Android10 : ... # type: QOperatingSystemVersion
The same issue concerns QColorConstants in QtGui.pyi, and other classes.
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2658 mypy error after upgrading PySide6 to version 6.6.3
- Closed
- resulted from
-
PYSIDE-2263 QColorConstants type hints are incomplete
- Closed
For Gerrit Dashboard: PYSIDE-2653 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
551750,1 | pyi: Fix syntax error in class attributes | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: NEW | -1 | 0 |