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

Typing : QModelIndex.constInternalPointer() should return Any

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P4: Low
    • 6.9.0, 6.8.3
    • None
    • Type hints
    • None
    • 30d55345b (dev), 768fa3a27 (6.8)

    Description

      QModelIndex.constInternalPointer() should return Any

      QModelIndex.internalPointer() has already been adjusted to return Any instead of incorrect int.

      This applies to all constInternalPointer() methods, not just QModelIndex

      Reported from https://github.com/python-qt-tools/PySide6-stubs

       

      Attachments

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

        Activity

          People

            ctismer Christian Tismer
            bluebird75 Philippe Fremy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes