[PyQt] Unable to weakreference pyqtBoundSignal

Kyle Altendorf sda at fstab.net
Fri Sep 29 04:22:53 BST 2017


TypeError: cannot create weak reference to 
'PyQt5.QtCore.pyqtBoundSignal' object

Are pyqtBoundSignals intentionally not weak referenceable?  If not, 
could it be?

Example and output:
     https://gist.github.com/altendky/9f942709dfc2f33019723ffff43260b1

Since I already had it open:
     https://docs.python.org/3/extending/newtypes.html#weakref-support

Cheers,
-kyle


More information about the PyQt mailing list