[PyKDE] QListViewItem problems

Phil Thompson phil at riverbankcomputing.co.uk
Fri May 2 11:20:00 BST 2003


On Friday 02 May 2003 8:53 am, Per Gummedal wrote:
> Hi
>
> I'm running python2.2.2, pyqt3.6, qt3.1.2 on win2000.
>
> This program leaks memory when sorting.
> If I remove the overridden key method there is no leaking.
> Is it just me, or does anybody else see the same problem ?
> Some thoughts ?

It's a fairly fundamental SIP bug that has been there since v0.1. Virtual 
methods that return class instances leak. It has been fixed in SIP v4.

Phil




More information about the PyQt mailing list