Details
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
- relates to
-
PYSIDE-1605 shiboken should allow to pass containers to python without copying
- Reported
For Gerrit Dashboard: PYSIDE-2239 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
462913,2 | shiboken6: Fix module names of opaque containers | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
462993,1 | shiboken6: Fix module names of opaque containers | 6.4 | pyside/pyside-setup | Status: MERGED | +2 | 0 |