[PyQt] QWidget event == no more GC for QWidget?
rasky at develer.com
Tue Jul 22 12:08:09 BST 2008
On 7/22/2008 10:56 AM, Sundance wrote:
> Alexei Puzikov wrote:
>> 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:
> 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:
Yes it's the same bug and yes it's been fixed in latest snapshots.
More information about the PyQt