Re: [PyQt] Leak found in PyQt version 4.8.5-1 / 4.8.5 win32 build

2011-08-25 Thread Phil Thompson
On Mon, 22 Aug 2011 20:00:31 +0200, Carl Wolff wrote: > Hello, > the following piece of code leaks: > > import PyQt4.QtGui > import PyQt4.QtCore > import time > > app = PyQt4.QtGui.QApplication([]) > mainWindow = PyQt4.QtGui.QMainWindow() > > while True: > button = PyQt4.QtGui.QPushButton(mai

Re: [PyQt] Leak found in PyQt version 4.8.5-1 / 4.8.5 win32 build

2011-08-22 Thread Carl Wolff
t-boun...@riverbankcomputing.com > > 22-08-2011 20:02 > > To > > pyqt@riverbankcomputing.com > > cc > > Subject > > [PyQt] Leak found in PyQt version 4.8.5-1 / 4.8.5 win32 build > > Hello, > the following piece of code leaks: > > import PyQt4.QtGui > import P

[PyQt] Leak found in PyQt version 4.8.5-1 / 4.8.5 win32 build

2011-08-22 Thread Carl Wolff
Hello, the following piece of code leaks: import PyQt4.QtGui import PyQt4.QtCore import time app = PyQt4.QtGui.QApplication([]) mainWindow = PyQt4.QtGui.QMainWindow() while True: button = PyQt4.QtGui.QPushButton(mainWindow) button.parent().findChild(PyQt4.QtCore.QObject, "foo") button.se