Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
5.15.10
-
None
Description
The following code:
from PySide2 import QtWidgets
app = QtWidgets.QApplication([])
button = QtWidgets.QPushButton()
s1 = button.clicked
s2 = button.clicked
print(s1 == s2)
print(s1 is s2)
prints
True True
before version 5.15.2.
However the same code prints
False False
since 5.15.2.
The regression makes it impossible to implement certain useful code patterns.
It would be great if this regression can be fixed.
Attachments
Issue Links
- relates to
-
PYSIDE-1431 Equality check of some signal instances fail
- Closed
- resulted from
-
PYSIDE-68 PyQt4 regression: unbound signals do not provide __get__
- Closed