Hi,<br><br>Actually the object has the same reference but it's a different object. The same chunk of memory was allocated for the new instance - my mistake! However, I still have the problem and now I think it has something to do with signal - slot connections.
<br><br>I create connection like this:<br>QtCore.QObject.connect(self.animation, QtCore.SIGNAL("finishedInit()"), self._initAnimationFinished)<br><br>now, imagine that I created the instance of my class (which is 'self' in above), I deleted it and created a new instance and apparently it was assigned the same chunk of memory (if I print str(self) I see the same output for the first and second instance). The object resides in the same part of the memory but the two instances are different for sure (I assigned a random number inside __init__ method and for the two instances it was different). The connection created in above code works only with the first instance, for the second one the method self._initAnimationFinished is not invoked even though the finishedInit() signal is emitted by
self.animation object.<br><br>Does anyone have any idea why? The only thing which comes to my mind is that because self points to the same location the internal PyQt signal-slot handling is confused (?). If I create several instances of this object in order to get a different reference from the first instance than the whole app works perfectly. Also everything works perfectly with old PyQt binding.