Alexei Puzikov wrote:

> Hello,
>
> Quick question: if I uncomment the moveEvent in the code below, the
> destructor isn't called anymore.
> I suspect I'm doing something wrong or missing something - anybody can
> clear the things up?

I think this is the same issue as was discussed here a while back:
 http://www.mail-archive.com/pyqt%40riverbankcomputing.com/msg14270.html

SIP keeps a reference to virtual methods reimplemented in Python, 
meaning those methods and the objects they belong to never have a 
refcount of zero and never get garbage collected.

I believe this may be what Phil fixed just two weeks ago, though:
 http://www.mail-archive.com/pyqt%40riverbankcomputing.com/msg14395.html

-- S.
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to