Details
Description
Apparently QObject __init__ method does not call super to allow cooperative multiple inheritance as suggested in https://rhettinger.wordpress.com/2011/05/26/super-considered-super/
The script attached allows to reproduce the problem and it works with PyQt5.
I am not 100% sure whether this is a bug or intended behavior.
Attachments
Issue Links
- relates to
-
PYSIDE-800 Segmentation fault on QGraphicsLineItem and QObject hybrid using super()
- Open
-
PYSIDE-1434 can't use ABC with Pyside2
- Closed
-
PYSIDE-1613 Unexpected behavior with inheritance and properties
- Closed
- resulted in
-
PYSIDE-2294 TypeError with PySide 6.5.0 for multiple inheritance of MainWindow
- Reported
-
PYSIDE-2282 QMainWindow and multiple inheritance from QWidget
- Closed