Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2653

Syntax errors in QtCore.pyi, QtGui.pyi

XMLWordPrintable

    • 267c75375 (dev), 6426249e4 (6.7), c06a64b89 (6.6), e5eb303bd (tqtc/lts-6.5), 5d9b5718f (6.6.3.1), 87222d432 (tqtc/6.6.3.1), ce40f06b7 (tqtc/lts-6.2)

      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.

        For Gerrit Dashboard: PYSIDE-2653
        # Subject Branch Project Status CR V

            ctismer Christian Tismer
            bers bers bers
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes