Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
5.15.2, 6.0.0
-
None
-
e9b29a35eb483b19dc3fac7c815d87a3afacdcfd (pyside/pyside-setup/dev) 15e19fd0794a5527d4b94c821a4210849ed59f30 (pyside/pyside-setup/6.2)
Description
PySide2 Output:
PySide2 5.15.2 c.signal: True push_button.clicked: False
PyQt5 Output:
PyQt5 5.15.2 c.signal: True push_button.clicked: True
Source:
try: from PySide2 import __version__ from PySide2 import QtCore from PySide2 import QtWidgets print('PySide2', __version__) Signal = QtCore.Signal except ImportError: from PyQt5 import QtCore from PyQt5 import QtWidgets print('PyQt5', QtCore.PYQT_VERSION_STR) Signal = QtCore.pyqtSignal class C(QtCore.QObject): signal = Signal() def main(): application = QtWidgets.QApplication([]) c = C() print('c.signal:', c.signal == c.signal) push_button = QtWidgets.QPushButton() print('push_button.clicked:', push_button.clicked == push_button.clicked) main()
Attachments
Issue Links
- relates to
-
PYSIDE-2140 PySide2 5.15.2 introduces regression with respect to bound signal equality and identity
-
- Closed
-
- resulted in
-
PYSIDE-1730 Reg->6.2.2: Signal/Method namespace clashing with multiple inheritance
-
- Closed
-
-
PYSIDE-1751 No longer possible to override signal emission type?
-
- Closed
-