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

QList classes have incorrect __module__ values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • 6.5.0, 6.4.3
    • 6.4.2
    • PySide
    • None
    • Windows
    • d43163af9 (dev), 631343bd1 (6.4)

    Description

      Functions, classes and methods contain a "_module_" attribute storing the name of the module they were defined in.

      In a number of cases in PySide6 the value is missing "PySide6." from the beginning.

      A correct example looks like the following.

      from PySide6.QtWidgets import QWidget
      QWidget.__module__ == "PySide6.QtWidgets"

       

      Here are two examples where the value is incorrect

      from PySide6.Qt3DAnimation import QIntList
      QIntList.__module__ == "Qt3DAnimation"

      This is wrong. The value should be "PySide6.Qt3DAnimation"

      from PySide6.QtCharts import QPointFList
      QPointFList.__module__ = "QtCharts"

      This is wrong. The value should be "PySide6.QtCharts"

       

      I have attached a text file of all the classes and methods that have the incorrect value.

      They all seem to be Q__List classes.

       

      Attachments

        Issue Links

          Activity

            People

              kleint Friedemann Kleint
              gentlegiantjgc J C
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: