[PyQt] Re: Virtual methods and an extra reference

Phil Thompson phil at riverbankcomputing.com
Mon Jul 7 17:55:30 BST 2008


On Mon, 7 Jul 2008 16:39:46 +0000 (UTC), Kevin Watters
<kevinwatters at gmail.com> wrote:
>> It should be fixed in tonight's SIP snapshot. It was just a Py_DECREF()
>> that got dropped.
> 
> Thanks--the fix looks good in my tests.
> 
> Although I'm still a bit confused about the long comment for when there's
> a
> callable (not a CFunction and not a PyMethod) in the slot. There's still
> no
> Py_DECREF in that case.

Which is explained by the comment. I can fix it next time I want to break
backwards compatibility.

Phil



More information about the PyQt mailing list